mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Wohoo
This commit is contained in:
1 parent
23e69d1193
commit
2b94b56c92
11 files changed
+99
-41
No files matched your search
@@ -3,18 +3,19 @@ import { AppWrapper } from "../../../ui/components";
|
||||
import { useSettings } from "../../settings/hooks/useSettings";
|
||||
import { GridMenu } from "./GridMenu";
|
||||
import { Box } from "@material-ui/core";
|
||||
import { useApps } from "../../appmarket/hooks/useApps";
|
||||
|
||||
export const HomeApp = () => {
|
||||
const [settings] = useSettings();
|
||||
const [apps] = useApps();
|
||||
console.log(apps)
|
||||
return (
|
||||
<AppWrapper
|
||||
style={{
|
||||
backgroundImage: `${process.env.PUBLIC_URL}url(/media/backgrounds/${settings.wallpaper})`,
|
||||
}}
|
||||
>
|
||||
<Box padding={2}>
|
||||
<GridMenu apps={settings.apps} />
|
||||
</Box>
|
||||
<Box padding={2}>{apps && <GridMenu apps={apps.preinstalled} />}</Box>
|
||||
</AppWrapper>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user