feat: 首页更新
This commit is contained in:
@@ -3,7 +3,7 @@ import FontAwesome from '@expo/vector-icons/FontAwesome';
|
||||
import { Link, Tabs } from 'expo-router';
|
||||
import { Pressable } from 'react-native';
|
||||
|
||||
import Colors from '@/constants/Colors';
|
||||
import { Colors } from '@/theme';
|
||||
import { useColorScheme, useClientOnlyValue } from '@/hooks';
|
||||
|
||||
// You can explore the built-in icon families and icons on the web at https://icons.expo.fyi/
|
||||
|
||||
@@ -40,7 +40,6 @@ import {
|
||||
useTheme,
|
||||
useLanguage,
|
||||
useHapticsEnabled,
|
||||
useSettingsActions,
|
||||
} from '@/stores';
|
||||
import { useTenantLoad, useTenantInfo } from '@/stores/tenantStore';
|
||||
|
||||
@@ -72,7 +71,7 @@ export default function DemoScreen() {
|
||||
const theme = useTheme();
|
||||
const language = useLanguage();
|
||||
const hapticsEnabled = useHapticsEnabled();
|
||||
const { setTheme, setLanguage, setHapticsEnabled } = useSettingsActions();
|
||||
const { setTheme, setLanguage, setHapticsEnabled } = useSettingsStore();
|
||||
// const setTheme = useSettingsStore((state) => state.setTheme);
|
||||
// const setLanguage = useSettingsStore((state) => state.setLanguage);
|
||||
// const setHapticsEnabled = useSettingsStore((state) => state.setHapticsEnabled);
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import { Stack } from 'expo-router';
|
||||
import HomeScreen from '@/pages/HomeScreen';
|
||||
|
||||
export default function TabOneScreen() {
|
||||
export default function TabHoneScreen() {
|
||||
return (
|
||||
<>
|
||||
<Stack.Screen
|
||||
|
||||
Reference in New Issue
Block a user