Add phone service, rename phone app to dialer, etc improvements

This commit is contained in:
J Francisco Rader committed 2020-08-25 21:13:01 -03:00
1 parent bf2e7fa295
commit b2e0cba844
24 files changed
+311 -255

No files matched your search

@@ -2,18 +2,14 @@ import React from "react";
import { AppWrapper } from "../../../ui/components";
import { AppTitle } from "../../../ui/components/AppTitle";
import { AppContent } from "../../../ui/components/AppContent";
import { useTranslation } from "react-i18next";
import { useApps } from "../../appmarket/hooks/useApps";
import { Calculator } from "./Calculator";
import { useApp } from "../../../os/apps/hooks/useApps";
export const CalculatorApp = () => {
const { t } = useTranslation();
const { getApp } = useApps();
const calculator = useApp("CALCULATOR");
return (
<AppWrapper>
<AppTitle color={getApp("calculator").backgroundColor}>
{t("APPS_CALCULATOR")}
</AppTitle>
<AppTitle {...calculator} />
<AppContent>
<Calculator />
</AppContent>