mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Feature / Streamer Mode (#159)
* feat(phone/settings): Add streamer mode setting and PictureReveal component :) * feat(phone/settings): Add PictureReveal streamer mode to twitter and improve its theme a bit
This commit is contained in:
1 parent
d841ee0958
commit
75a4eb176e
27 files changed
+175
-92
No files matched your search
@@ -7,9 +7,14 @@ import { useConfig } from '../../../config/hooks/useConfig';
|
||||
import { List } from '../../../ui/components/List';
|
||||
import { useSimcard } from '../../../os/simcard/hooks/useSimcard';
|
||||
import { useApp } from '../../../os/apps/hooks/useApps';
|
||||
import { SettingItem, SettingItemIconAction, SettingItemSlider } from './SettingItem';
|
||||
import {
|
||||
SettingItem,
|
||||
SettingItemIconAction,
|
||||
SettingItemSlider,
|
||||
SettingSwitch,
|
||||
} from './SettingItem';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import VisibilityOffIcon from '@material-ui/icons/VisibilityOff';
|
||||
import {
|
||||
FilterList,
|
||||
Brush,
|
||||
@@ -133,6 +138,12 @@ export const SettingsApp = () => {
|
||||
value={settings.notiSoundVol}
|
||||
onCommit={(e, val) => handleSettingChange('notiSoundVol', val)}
|
||||
/>
|
||||
<SettingSwitch
|
||||
label={t('APPS_SETTINGS_OPTION_STREAMER_MODE')}
|
||||
icon={<VisibilityOffIcon />}
|
||||
value={settings.streamerMode}
|
||||
onClick={(curr) => handleSettingChange('streamerMode', !curr)}
|
||||
/>
|
||||
</List>
|
||||
<List disablePadding subheader={<SubHeaderComp text="Appearance" />}>
|
||||
<SettingItem
|
||||
|
||||
Reference in new issue
Block a user