mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-11-02 06:13:28 +01:00
Reordered a button for consistency
This commit is contained in:
@@ -391,16 +391,6 @@ class _AppPageState extends State<AppPage> {
|
|||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
children: [
|
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 &&
|
if (source != null &&
|
||||||
source.combinedAppSpecificSettingFormItems.isNotEmpty)
|
source.combinedAppSpecificSettingFormItems.isNotEmpty)
|
||||||
IconButton(
|
IconButton(
|
||||||
@@ -446,6 +436,16 @@ class _AppPageState extends State<AppPage> {
|
|||||||
},
|
},
|
||||||
icon: const Icon(Icons.more_horiz),
|
icon: const Icon(Icons.more_horiz),
|
||||||
tooltip: tr('more')),
|
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) &&
|
if ((!isVersionDetectionStandard || trackOnly) &&
|
||||||
app?.app.installedVersion != null &&
|
app?.app.installedVersion != null &&
|
||||||
app?.app.installedVersion == app?.app.latestVersion)
|
app?.app.installedVersion == app?.app.latestVersion)
|
||||||
|
|||||||
Reference in New Issue
Block a user