From b493ff1dee499ace54b9baecf2aea39ee02b5ccb Mon Sep 17 00:00:00 2001 From: lisonge Date: Wed, 12 Jun 2024 17:02:46 +0800 Subject: [PATCH] fix: appInfo --- src/utils/node.ts | 2 +- src/utils/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/node.ts b/src/utils/node.ts index 3866aa2..0a32736 100644 --- a/src/utils/node.ts +++ b/src/utils/node.ts @@ -186,7 +186,7 @@ export const getDevice = (snapshot: Snapshot): Device => { export const getAppInfo = (snapshot: Snapshot): AppInfo => { return ( - snapshot.appInInfo || { + snapshot.appInfo || { id: snapshot.appId, name: snapshot.appName, versionCode: snapshot.appVersionCode, diff --git a/src/utils/types.ts b/src/utils/types.ts index 09ce11b..7d9a4a4 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -68,7 +68,7 @@ export type Overview = { screenHeight: number; isLandscape: boolean; - appInInfo: AppInfo; + appInfo: AppInfo; gkdAppInfo: AppInfo; /**