dengdx 6 дней назад
Родитель
Сommit
ddb8741be2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/app.tsx

+ 1 - 1
src/app.tsx

@@ -36,7 +36,7 @@ function AppContent({ children }: { children: ReactNode }): JSX.Element {
   const { messages, loading, error, currentLocale } = useAppSelector(
     (state) => state.i18n
   );
-  const [currentTheme, setCurrentTheme] = useState(lightTheme); // 默认使用 light 主题
+  const [currentTheme, setCurrentTheme] = useState(darkTheme); // 默认使用 light 主题
   const [isI18nReady, setIsI18nReady] = useState(false);
 
   useLaunch((): void => {