mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
* Add calling and notification sounds * Fix notification visibility on any resolution * Add comments * Log howler error src * Revert removed files im stupid * Make sliders on settings use changeCommitted instead of onChange * Fix ringtone paths * Break alert words overflow * Fix tweet overflow pepega * Remove unused hook * Update volume sliders in real time * Fix resolution notifications * Fix initial value for vol sliders * Fix call duration timer bugs * Add alert when phone active and phone closes * keep notification * Stop ringing when accept
23 lines
746 B
TypeScript
23 lines
746 B
TypeScript
import React from 'react';
|
|
import { ThemeProvider } from '@material-ui/core';
|
|
import { NotificationsProvider } from './os/notifications/providers/NotificationsProvider';
|
|
import { usePhoneTheme } from './os/phone/hooks/usePhoneTheme';
|
|
import SnackbarProvider from './ui/providers/SnackbarProvider';
|
|
import Phone from './Phone';
|
|
import { SoundProvider } from './os/sound/providers/SoundProvider';
|
|
|
|
export const PhoneContainer = () => {
|
|
const currentTheme = usePhoneTheme();
|
|
return (
|
|
<ThemeProvider theme={currentTheme}>
|
|
<SoundProvider>
|
|
<NotificationsProvider>
|
|
<SnackbarProvider>
|
|
<Phone />
|
|
</SnackbarProvider>
|
|
</NotificationsProvider>
|
|
</SoundProvider>
|
|
</ThemeProvider>
|
|
);
|
|
};
|