diff --git a/lib/provider/alist_provider.dart b/lib/provider/alist_provider.dart index 90c92f8..2f2fe1b 100644 --- a/lib/provider/alist_provider.dart +++ b/lib/provider/alist_provider.dart @@ -38,7 +38,7 @@ class AlistNotifier extends StateNotifier { } void checkState(String text) { - if (text.contains('start ') && text.contains('server')) { + if (text.contains('start HTTP server')) { if (text.contains('FATA')) { text = text.split('FATA')[0].trim(); } diff --git a/lib/theme.dart b/lib/theme.dart index 7504e0f..2d8bd17 100644 --- a/lib/theme.dart +++ b/lib/theme.dart @@ -44,7 +44,7 @@ class AlistHelperTheme { brightness: Brightness.dark, primary: primaryColor, secondary: primaryColor, - background: const Color.fromARGB(255, 24, 24, 24), + surface: const Color.fromARGB(255, 24, 24, 24), ), useMaterial3: true, textTheme: TextTheme(