mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +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
@@ -42,6 +42,10 @@ import {
|
||||
} from '../../../apps/sellout/sellout.theme';
|
||||
import { NOTES_APP_ICON_COLOR, NOTES_APP_PRIMARY_COLOR } from '../../../apps/notes/notes.theme';
|
||||
import { DIALER_APP_PRIMARY_COLOR, DIALER_APP_TEXT_COLOR } from '../../../apps/dialer/dialer.theme';
|
||||
import {
|
||||
TWITTER_APP_PRIMARY_COLOR,
|
||||
TWITTER_APP_TEXT_COLOR,
|
||||
} from '../../../apps/twitter/twitter.theme';
|
||||
|
||||
export interface IAppConfig {
|
||||
id: string;
|
||||
@@ -120,8 +124,8 @@ export const APPS: IAppConfig[] = [
|
||||
nameLocale: 'APPS_TWITTER',
|
||||
icon: <FontAwesomeIcon icon={faTwitter} fixedWidth />,
|
||||
notificationIcon: <FontAwesomeIcon icon={faTwitter} fixedWidth size="xs" />,
|
||||
backgroundColor: blue[600],
|
||||
color: common.white,
|
||||
backgroundColor: TWITTER_APP_PRIMARY_COLOR,
|
||||
color: TWITTER_APP_TEXT_COLOR,
|
||||
path: '/twitter',
|
||||
Route: () => <AppRoute id="TWITTER" path="/twitter" component={TwitterApp} />,
|
||||
},
|
||||
|
||||
@@ -18,7 +18,7 @@ export const CallModal = () => {
|
||||
<AppContent>
|
||||
<Box pt={24}>
|
||||
<h1 style={{ textAlign: 'center' }}>
|
||||
{myNumber == call?.transmitter ? call?.receiver : call?.transmitter}
|
||||
{myNumber === call?.transmitter ? call?.receiver : call?.transmitter}
|
||||
</h1>
|
||||
<CallTimer isAccepted={call?.accepted} />
|
||||
</Box>
|
||||
|
||||
@@ -26,6 +26,6 @@ export const getSoundSettings = (
|
||||
};
|
||||
} catch (e) {
|
||||
console.error('getSoundSettings.ts error', e, 'Using default sounds');
|
||||
return { sound: getPath[type](), volume: 1 };
|
||||
return { sound: getPath[type](), volume: 0 };
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user