From a7db0bac6fa42a47f05b9ef5fabc05656a347f08 Mon Sep 17 00:00:00 2001
From: Minseo Lee <itoupluk427@gmail.com>
Date: Fri, 7 Mar 2025 02:46:09 +0900
Subject: Add context for toast messages (#7902)

* add context for toast

* add
---
 src/screens/Settings/AboutSettings.tsx | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

(limited to 'src/screens/Settings/AboutSettings.tsx')

diff --git a/src/screens/Settings/AboutSettings.tsx b/src/screens/Settings/AboutSettings.tsx
index afae1096c..e174c09e5 100644
--- a/src/screens/Settings/AboutSettings.tsx
+++ b/src/screens/Settings/AboutSettings.tsx
@@ -77,8 +77,18 @@ export function AboutSettingsScreen({}: Props) {
               setDevModeEnabled(newDevModeEnabled)
               Toast.show(
                 newDevModeEnabled
-                  ? _(msg`Developer mode enabled`)
-                  : _(msg`Developer mode disabled`),
+                  ? _(
+                      msg({
+                        message: 'Developer mode enabled',
+                        context: 'toast',
+                      }),
+                    )
+                  : _(
+                      msg({
+                        message: 'Developer mode disabled',
+                        context: 'toast',
+                      }),
+                    ),
               )
             }}
             onPress={() => {
-- 
cgit 1.4.1

