diff --git a/lib/screens/mobile/mobile_home.dart b/lib/screens/mobile/mobile_home.dart index 0efae57..709138c 100644 --- a/lib/screens/mobile/mobile_home.dart +++ b/lib/screens/mobile/mobile_home.dart @@ -244,10 +244,9 @@ class _MobileHomeScaffoldState extends State with TickerProv scaffoldMessenger.showSnackBar(SnackBar(content: Text("An error occurred. Please try again. $e"))); } - if (!routerResult.isServerStarted) { - return; + if (routerResult.isServerStarted) { + routerResult.toggleSwitch(value: true); } - routerResult.toggleSwitch(value: true); } Future _showCloseRouterDialog(