From d95d0cf8cf7a8db363f57a3d0f2e630dcc0212b2 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 956b325..e51d674 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 {