From 02e7e78fcb83cd7cdc461b3aaa16b6d5ca4e3de2 Mon Sep 17 00:00:00 2001 From: Jonas Bark Date: Sun, 2 Nov 2025 17:48:34 +0100 Subject: [PATCH] exit app on Android to apply patch --- lib/widgets/title.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/widgets/title.dart b/lib/widgets/title.dart index 956b3256..e51d674e 100755 --- a/lib/widgets/title.dart +++ b/lib/widgets/title.dart @@ -160,9 +160,9 @@ class _AppTitleState extends State { content: Text('Force-close the app to use the new version'), duration: Duration(seconds: 10), action: SnackBarAction( - label: 'Attempt Restart', + label: 'Restart', onPressed: () { - if (Platform.isIOS || Platform.isAndroid) { + if (Platform.isIOS) { connection.reset(); Restart.restartApp(delayBeforeRestart: 1000); } else {