mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Add: Simcard, simcardService + Add: nuiEvent, nuiService
This commit is contained in:
1 parent
ec37fcde46
commit
f862100d4b
14 files changed
+101
-5
No files matched your search
@@ -13,6 +13,7 @@ import { useSettings } from "../hooks/useSettings";
|
||||
import { useApps } from "../../appmarket/hooks/useApps";
|
||||
import { List } from "../../../ui/components/List";
|
||||
import { ListItem } from "../../../ui/components/ListItem";
|
||||
import { useSimcard } from "../../../os/simcard/hooks/useSimcard";
|
||||
|
||||
export const SettingItem = ({ options, label, value, onClick }) => {
|
||||
return (
|
||||
@@ -30,6 +31,7 @@ export const SettingsApp = () => {
|
||||
const [config] = useConfig();
|
||||
const { getApp } = useApps();
|
||||
const { setSettings, settings } = useSettings();
|
||||
const simcard = useSimcard();
|
||||
|
||||
const wallpapers = config.wallpapers.map(
|
||||
MapStringOptions(settings.wallpaper, (val) => setSettings("wallpaper", val))
|
||||
@@ -67,6 +69,10 @@ export const SettingsApp = () => {
|
||||
options={frames}
|
||||
onClick={openMenu}
|
||||
/>
|
||||
<SettingItem
|
||||
label="Phone Number"
|
||||
value={simcard.number}
|
||||
/>
|
||||
</List>
|
||||
</AppContent>
|
||||
<ContextMenu />
|
||||
|
||||
Reference in new issue
Block a user