From a7db0bac6fa42a47f05b9ef5fabc05656a347f08 Mon Sep 17 00:00:00 2001 From: Minseo Lee Date: Fri, 7 Mar 2025 02:46:09 +0900 Subject: Add context for toast messages (#7902) * add context for toast * add --- src/screens/ModerationInteractionSettings/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/screens/ModerationInteractionSettings/index.tsx') diff --git a/src/screens/ModerationInteractionSettings/index.tsx b/src/screens/ModerationInteractionSettings/index.tsx index ee72ff9da..a7e29a8a9 100644 --- a/src/screens/ModerationInteractionSettings/index.tsx +++ b/src/screens/ModerationInteractionSettings/index.tsx @@ -99,7 +99,7 @@ function Inner({preferences}: {preferences: UsePreferencesQueryResponse}) { threadgateAllowUISettingToAllowRecordValue(maybeEditedAllowUI), postgateEmbeddingRules: maybeEditedPostgate.embeddingRules ?? [], }) - Toast.show(_(msg`Settings saved`)) + Toast.show(_(msg({message: 'Settings saved', context: 'toast'}))) } catch (e: any) { logger.error(`Failed to save post interaction settings`, { source: 'ModerationInteractionSettingsScreen', -- cgit 1.4.1