From 60e38c9e5c43cd152ad450ebc0a22c7ec67466b3 Mon Sep 17 00:00:00 2001 From: Taso Date: Tue, 13 Apr 2021 20:29:23 -0400 Subject: [PATCH] tweak(phone/default-config): Readability differentiation for config Makes the difference between the NUI specific build time config & the resource runtime resource config more apparent. --- phone/src/apps/settings/components/SettingsApp.tsx | 4 ++-- phone/src/config/hooks/{useConfig.ts => usePhoneConfig.ts} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename phone/src/config/hooks/{useConfig.ts => usePhoneConfig.ts} (100%) diff --git a/phone/src/apps/settings/components/SettingsApp.tsx b/phone/src/apps/settings/components/SettingsApp.tsx index d4fd635..33baba2 100644 --- a/phone/src/apps/settings/components/SettingsApp.tsx +++ b/phone/src/apps/settings/components/SettingsApp.tsx @@ -3,7 +3,7 @@ import { AppWrapper } from '../../../ui/components'; import { AppTitle } from '../../../ui/components/AppTitle'; import { AppContent } from '../../../ui/components/AppContent'; import { useContextMenu, MapSettingItem, SettingOption } from '../../../ui/hooks/useContextMenu'; -import { useConfig } from '../../../config/hooks/useConfig'; +import { usePhoneConfig } from '../../../config/hooks/usePhoneConfig'; import { List } from '../../../ui/components/List'; import { useSimcard } from '../../../os/simcard/hooks/useSimcard'; import { useApp } from '../../../os/apps/hooks/useApps'; @@ -57,7 +57,7 @@ const useStyles = makeStyles({ export const SettingsApp = () => { const settingsApp = useApp('SETTINGS'); - const [config] = useConfig(); + const [config] = usePhoneConfig(); const simcard = useSimcard(); const [settings, setSettings] = useSettings(); const { t } = useTranslation(); diff --git a/phone/src/config/hooks/useConfig.ts b/phone/src/config/hooks/usePhoneConfig.ts similarity index 100% rename from phone/src/config/hooks/useConfig.ts rename to phone/src/config/hooks/usePhoneConfig.ts