From 92022a6e345b6bb3a3292f57051cc4c53d94aa5b Mon Sep 17 00:00:00 2001 From: PiEgg Date: Sat, 24 Apr 2021 18:16:13 +0800 Subject: [PATCH] :bug: Fix: use uploader first --- src/main/apis/app/uploader/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/apis/app/uploader/index.ts b/src/main/apis/app/uploader/index.ts index 01faafd..6ed0d5a 100644 --- a/src/main/apis/app/uploader/index.ts +++ b/src/main/apis/app/uploader/index.ts @@ -125,7 +125,7 @@ class Uploader { if (this.webContents) { handleTalkingData(this.webContents, { fromClipboard: !img, - type: db.get('picBed.current') || 'smms', + type: db.get('picBed.uploader') || db.get('picBed.current') || 'smms', count: img ? img.length : 1, duration: Date.now() - startTime } as IAnalyticsData)