Feat(useApps): Merge fix

This commit is contained in:
chip committed 2020-08-23 17:05:39 +02:00
commit 5dd9be3fa0
20 files changed
+537 -76

No files matched your search

+15 -1
View File
@@ -11,12 +11,20 @@ import MessageIcon from "@material-ui/icons/Email";
import { HomeApp } from "./apps/home/components/Home";
import { ContactsApp } from "./apps/contacts/components/ContactsApp";
import { SettingsApp } from "./apps/settings/components/SettingsApp";
<<<<<<< HEAD
import { PhoneApp } from './apps/phone/components/PhoneApp';
import { BankApp } from './apps/bank/component/BankApp';
=======
import { PhoneApp } from "./apps/phone/components/PhoneApp";
>>>>>>> 6ce38f2746e21d5096169f5d1f0f2a40c0cd9a9d
import { ThemeProvider } from "@material-ui/core";
import { CalculatorApp } from "./apps/calculator/components/CalculatorApp";
import { useInitKeyboard } from "./os/hooks/useKeyboard";
function Phone() {
useInitKeyboard();
const { settings, currentTheme } = useSettings();
return (
<ThemeProvider theme={currentTheme()}>
<div className="PhoneWrapper">
@@ -36,14 +44,20 @@ function Phone() {
}}
>
<NotificationBar
notifications={[{ icon: <NotificationIcon Icon={MessageIcon} /> }, { icon: <NotificationIcon Icon={MessageIcon} /> }]}
notifications={[
{ key: 'newMessage', icon: <NotificationIcon Icon={MessageIcon} /> },
]}
/>
<div className="PhoneAppContainer">
<Route exact path="/" component={HomeApp} />
<Route exact path="/contacts" component={ContactsApp} />
<Route exact path="/settings" component={SettingsApp} />
<Route exact path="/phone" component={PhoneApp} />
<<<<<<< HEAD
<Route exact path="/bank" component={BankApp} />
=======
<Route exact path="/calculator" component={CalculatorApp} />
>>>>>>> 6ce38f2746e21d5096169f5d1f0f2a40c0cd9a9d
</div>
<Navigation />
</div>