From 8adb5e84d1ee8ea2bd1998847e36d7f745d83d03 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Wed, 24 Jan 2024 19:50:11 -0500 Subject: [PATCH] Reordered a button for consistency --- lib/pages/app.dart | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/pages/app.dart b/lib/pages/app.dart index fe1f5d5..efd6607 100644 --- a/lib/pages/app.dart +++ b/lib/pages/app.dart @@ -391,16 +391,6 @@ class _AppPageState extends State { child: Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ - if (app?.app.installedVersion != null && - app?.app.installedVersion != app?.app.latestVersion && - !isVersionDetectionStandard && - !trackOnly) - IconButton( - onPressed: app?.downloadProgress != null || updating - ? null - : showMarkUpdatedDialog, - tooltip: tr('markUpdated'), - icon: const Icon(Icons.done)), if (source != null && source.combinedAppSpecificSettingFormItems.isNotEmpty) IconButton( @@ -446,6 +436,16 @@ class _AppPageState extends State { }, icon: const Icon(Icons.more_horiz), tooltip: tr('more')), + if (app?.app.installedVersion != null && + app?.app.installedVersion != app?.app.latestVersion && + !isVersionDetectionStandard && + !trackOnly) + IconButton( + onPressed: app?.downloadProgress != null || updating + ? null + : showMarkUpdatedDialog, + tooltip: tr('markUpdated'), + icon: const Icon(Icons.done)), if ((!isVersionDetectionStandard || trackOnly) && app?.app.installedVersion != null && app?.app.installedVersion == app?.app.latestVersion)