about summary refs log tree commit diff
path: root/src/screens/ModerationInteractionSettings/index.tsx
diff options
context:
space:
mode:
authorMinseo Lee <itoupluk427@gmail.com>2025-03-07 02:46:09 +0900
committerGitHub <noreply@github.com>2025-03-06 11:46:09 -0600
commita7db0bac6fa42a47f05b9ef5fabc05656a347f08 (patch)
treeb44c29f5fb428f6aa353984fc5c930547ec85e16 /src/screens/ModerationInteractionSettings/index.tsx
parent29eef6188ae4c00006ae759e1b3815b8bd091a87 (diff)
downloadvoidsky-a7db0bac6fa42a47f05b9ef5fabc05656a347f08.tar.zst
Add context for toast messages (#7902)
* add context for toast

* add
Diffstat (limited to 'src/screens/ModerationInteractionSettings/index.tsx')
-rw-r--r--src/screens/ModerationInteractionSettings/index.tsx2
1 files changed, 1 insertions, 1 deletions
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',