Skip to content

Commit

Permalink
[ui] add descriptions in settings, rename developer mode (#53)
Browse files Browse the repository at this point in the history
see Issue #25

#25
  • Loading branch information
nephros authored Sep 20, 2021
1 parent f9d0ea5 commit 409f245
Show file tree
Hide file tree
Showing 4 changed files with 250 additions and 254 deletions.
6 changes: 5 additions & 1 deletion src/qml/SettingsPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,23 @@ Page {
Column {
width: parent.width

spacing: Theme.paddingMedium

PageHeader {
title: qsTranslate("", "Settings")
}

TextSwitch {
text: qsTranslate("", "Apply on boot")
description: qsTranslate("", "Apply all enabled patches when the system starts")
checked: PatchManager.applyOnBoot
onClicked: PatchManager.applyOnBoot = !PatchManager.applyOnBoot
automaticCheck: false
}

TextSwitch {
text: qsTranslate("", "Developer mode")
text: qsTranslate("", "Allow incompatible patches")
description: qsTranslate("", "Apply patches which are not marked compatible with the installed Sailfish OS version. Note that this will not fix patches that are actually incompatible.")
checked: PatchManager.developerMode
onClicked: PatchManager.developerMode = !PatchManager.developerMode
automaticCheck: false
Expand Down
Loading

0 comments on commit 409f245

Please sign in to comment.