mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
tweak(phone/settings): Added streamer mode desc
This commit is contained in:
1 parent
a244183976
commit
19e228894d
3 files changed
+5
-2
No files matched your search
@@ -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) => (
|
||||
<ListItem divider button>
|
||||
<ListItemIcon>{icon}</ListItemIcon>
|
||||
<ListItemText primary={label} />
|
||||
<ListItemText primary={label} secondary={secondary} />
|
||||
<ListItemSecondaryAction>
|
||||
<Switch color="primary" checked={value} onChange={() => onClick(value)} />
|
||||
</ListItemSecondaryAction>
|
||||
|
||||
Reference in new issue
Block a user