diff --git a/src/Phone.js b/src/Phone.js index ea46555..e443cde 100644 --- a/src/Phone.js +++ b/src/Phone.js @@ -12,6 +12,7 @@ import { HomeApp } from "./apps/home/components/Home"; import { ContactsApp } from "./apps/contacts/components/ContactsApp"; import { SettingsApp } from "./apps/settings/components/SettingsApp"; import { PhoneApp } from './apps/phone/components/PhoneApp'; +import { BankApp } from './apps/bank/component/BankApp'; import { ThemeProvider } from "@material-ui/core"; function Phone() { @@ -42,6 +43,7 @@ function Phone() { + diff --git a/src/apps/appmarket/hooks/useApps.js b/src/apps/appmarket/hooks/useApps.js index 630e52a..bfad421 100644 --- a/src/apps/appmarket/hooks/useApps.js +++ b/src/apps/appmarket/hooks/useApps.js @@ -1,10 +1,11 @@ import React, { useEffect } from "react"; import { useConfig } from "../../../config/hooks/useConfig"; -import { blue, grey, green } from "@material-ui/core/colors"; +import { blue, grey, green, orange } from "@material-ui/core/colors"; import { useTranslation } from "react-i18next"; import ContactsIcon from "@material-ui/icons/Contacts"; import SettingsIcon from '@material-ui/icons/Settings' import PhoneIcon from '@material-ui/icons/Phone'; +import AccountBalanceIcon from '@material-ui/icons/AccountBalance'; import { atom } from "recoil"; const appsState = atom({ @@ -40,6 +41,14 @@ export const useApps = () => { backgroundColor: grey[700], color: grey[50], path: '/settings' + }, + { + id: 'bank', + name: t('APPS_BANK'), + icon: , + backgroundColor: orange[600], + color: orange[50], + path: '/bank' } ]); // eslint-disable-next-line diff --git a/src/locale/en.json b/src/locale/en.json index 69da9f8..3e1b777 100644 --- a/src/locale/en.json +++ b/src/locale/en.json @@ -5,6 +5,10 @@ "APPS_CONTACTS": "Contacts", "APPS_MESSAGES": "Messages", "APPS_SETTINGS": "Settings", + "APPS_BANK": "WhoDis Banking", + "APPS_BANK_DEPOSIT": "Deposit", + "APPS_BANK_WITHDRAW": "Withdraw", + "APPS_BANK_TRANSFER": "Transfer", "APPS_SETTINGS_OPTIONS_WALLPAPER": "Wallpaper", "APPS_SETTINGS_OPTIONS_FRAME": "Frame" }