diff --git a/src/qml/PatchManagerPage.qml b/src/qml/PatchManagerPage.qml index 920a44ce..1e73451b 100644 --- a/src/qml/PatchManagerPage.qml +++ b/src/qml/PatchManagerPage.qml @@ -376,7 +376,7 @@ Page { function doPatch() { view.model.saveLayout() if (!patchObject.details.patched) { - if (PatchManager.developerMode || patchObject.details.isCompatible) { + if (!PatchManager.strictCompatability || patchObject.details.isCompatible) { patchObject.apply() } else { errorMessageComponent.createObject(background, {text: qsTranslate("", "This Patch is incompatible with the installed SailfishOS version.")}) diff --git a/src/qml/WebPatchPage.qml b/src/qml/WebPatchPage.qml index 4f9bbb91..6eda591f 100644 --- a/src/qml/WebPatchPage.qml +++ b/src/qml/WebPatchPage.qml @@ -335,7 +335,7 @@ Page { property bool isReinstallable: isInstalled && isCompatible onClicked: { - if (!PatchManager.developerMode && !isCompatible) { + if (PatchManager.strictCompatability && !isCompatible) { errorMessageComponent.createObject(fileDelegate, {text: qsTranslate("", "This Patch is incompatible with the installed SailfishOS version.")}) } else if (!fileDelegate.isInstalled) { remorseAction(qsTranslate("", "Install Patch %1").arg(patchData.display_name), installPatch)