mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-14 02:48:10 +02:00
Disable mark as updated for enhanced detect apps
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
"changeX": "Change {}",
|
"changeX": "Change {}",
|
||||||
"installUpdateApps": "Install/Update Apps",
|
"installUpdateApps": "Install/Update Apps",
|
||||||
"installUpdateSelectedApps": "Install/Update Selected Apps",
|
"installUpdateSelectedApps": "Install/Update Selected Apps",
|
||||||
"onlyAppliesToInstalledAndOutdatedApps": "Only applies to installed but out of date Apps",
|
"onlyAppliesToInstalledAndOutdatedApps": "Only applies to installed but out of date Apps whose install status cannot be automatically detected.",
|
||||||
"markXSelectedAppsAsUpdated": "Mark {} Selected Apps as Updated?",
|
"markXSelectedAppsAsUpdated": "Mark {} Selected Apps as Updated?",
|
||||||
"no": "No",
|
"no": "No",
|
||||||
"yes": "Yes",
|
"yes": "Yes",
|
||||||
|
@@ -141,7 +141,9 @@ class _AppPageState extends State<AppPage> {
|
|||||||
children: [
|
children: [
|
||||||
if (app?.app.installedVersion != null &&
|
if (app?.app.installedVersion != null &&
|
||||||
app?.app.trackOnly == false &&
|
app?.app.trackOnly == false &&
|
||||||
app?.app.installedVersion != app?.app.latestVersion)
|
app?.app.installedVersion !=
|
||||||
|
app?.app.latestVersion &&
|
||||||
|
app?.app.enhancedVersionDetection != true)
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: app?.downloadProgress != null
|
onPressed: app?.downloadProgress != null
|
||||||
? null
|
? null
|
||||||
|
@@ -533,8 +533,8 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
.selectionClick();
|
.selectionClick();
|
||||||
appsProvider
|
appsProvider
|
||||||
.saveApps(selectedApps.map((a) {
|
.saveApps(selectedApps.map((a) {
|
||||||
if (a.installedVersion !=
|
if (a.installedVersion != null &&
|
||||||
null) {
|
!a.enhancedVersionDetection) {
|
||||||
a.installedVersion = a.latestVersion;
|
a.installedVersion = a.latestVersion;
|
||||||
}
|
}
|
||||||
return a;
|
return a;
|
||||||
|
Reference in New Issue
Block a user