diff --git a/phone/src/apps/settings/components/SettingItem.tsx b/phone/src/apps/settings/components/SettingItem.tsx index 1800332..a6dff73 100644 --- a/phone/src/apps/settings/components/SettingItem.tsx +++ b/phone/src/apps/settings/components/SettingItem.tsx @@ -67,12 +67,13 @@ interface ISettingSwitch { value: boolean; onClick: any; icon: JSX.Element; + secondary: string; } -export const SettingSwitch = ({ label, value, onClick, icon }: ISettingSwitch) => ( +export const SettingSwitch = ({ label, value, onClick, icon, secondary }: ISettingSwitch) => ( {icon} - + onClick(value)} /> diff --git a/phone/src/apps/settings/components/SettingsApp.tsx b/phone/src/apps/settings/components/SettingsApp.tsx index ade87c0..6dac2b0 100644 --- a/phone/src/apps/settings/components/SettingsApp.tsx +++ b/phone/src/apps/settings/components/SettingsApp.tsx @@ -140,6 +140,7 @@ export const SettingsApp = () => { /> } value={settings.streamerMode} onClick={(curr) => handleSettingChange('streamerMode', !curr)} diff --git a/phone/src/locale/en.json b/phone/src/locale/en.json index d6fe849..d33ed9d 100644 --- a/phone/src/locale/en.json +++ b/phone/src/locale/en.json @@ -121,6 +121,7 @@ "APPS_SETTINGS_OPTION_NOTIFICATION_FILTER": "Notification Filters", "APPS_SETTINGS_OPTION_NOTIFICATION": "Notification", "APPS_SETTINGS_OPTION_NOTIFICATIONVOL": "Notification Volume", + "APPS_SETTING_STREAMER_MODE_DESC": "Hide images before they are shown", "APPS_MARKETPLACE_CREATE_LISTING_SUCCESS": "Successfully created a new listing", "APPS_MARKETPALCE_CREATE_LISTING_FAILED": "Failed to create a new listing",