From 86c846ffe397ae10d788924ea82f1efd1fe836ef Mon Sep 17 00:00:00 2001 From: lin onetwo Date: Sun, 1 Dec 2024 21:07:07 +0800 Subject: [PATCH] fix: when saveTiddler, tags should be string, not string[] --- src/services/NativeService/hooks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/NativeService/hooks.tsx b/src/services/NativeService/hooks.tsx index eb49828..0b8dfcc 100644 --- a/src/services/NativeService/hooks.tsx +++ b/src/services/NativeService/hooks.tsx @@ -86,7 +86,7 @@ export function useRegisterReceivingShareIntent() { created, modified: created, creator: i18n.t('Share.TidGiMobileShare'), - tags: newTagForSharedContent === '' ? [] : [newTagForSharedContent], + tags: newTagForSharedContent, }); setImportSuccessSnackBarVisible(true); } catch (error) {