🐛 Fix bugs

This commit is contained in:
2025-10-07 03:05:53 +08:00
parent 28dd204b1a
commit a8c4988790
4 changed files with 28 additions and 8 deletions

View File

@@ -312,7 +312,7 @@ class ServerStateNotifier extends StateNotifier<ServerState> {
: super(ServerState(status: 'Server not started'));
Future<void> start() async {
if (!Platform.isAndroid && !Platform.isIOS && !kIsWeb) {
if (!kIsWeb && !Platform.isAndroid && !Platform.isIOS) {
try {
await server.start();
state = state.copyWith(status: 'Server running');