Skip to content

Commit

Permalink
Add option to Settings page
Browse files Browse the repository at this point in the history
Contributes-To: sailfishos-patches#333
  • Loading branch information
nephros committed Jan 6, 2023
1 parent 218d7b1 commit 9fa793e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/qml/SettingsPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ Page {
TextSwitch {
text: qsTranslate("", "Allow incompatible Patches")
description: qsTranslate("", "Enable activating Patches, which are not marked as compatible with the installed SailfishOS version. Note that Patches, which are actually incompatible, will not work.")
checked: !PatchManager.strictCompatability
onClicked: PatchManager.strictCompatability = !PatchManager.strictCompatability
automaticCheck: false
}

TextSwitch {
text: qsTranslate("", "Developer mode")
description: qsTranslate("", "Enable various functions aimed at use by Patch developers. Among other things, it shows debug log files for the Apply operations on the patch details pages.")
checked: PatchManager.developerMode
onClicked: PatchManager.developerMode = !PatchManager.developerMode
automaticCheck: false
Expand Down

0 comments on commit 9fa793e

Please sign in to comment.