diff --git a/app/settings/BooksSettings.qml b/app/settings/BooksSettings.qml
index 475cf32..f3dca3a 100644
--- a/app/settings/BooksSettings.qml
+++ b/app/settings/BooksSettings.qml
@@ -78,6 +78,8 @@ Page {
title: qsTrId("harbour-books-settings-page-header")
}
+ // =============== Display ===============
+
SectionHeader {
//: Section header for display settings
//% "Display"
@@ -251,7 +253,7 @@ Page {
//: Text switch description
//% "Prevent the display from blanking while reading the book."
description: qsTrId("harbour-books-settings-page-keep_display_on_description")
- onClicked: keepDisplayOn.value = !checked
+ onClicked: keepDisplayOn.value = !keepDisplayOn.value
ConfigurationValue {
id: keepDisplayOn
@@ -260,10 +262,12 @@ Page {
}
}
+ // =============== Navigation ===============
+
SectionHeader {
//: Section header for media keys
- //% "Media keys"
- text: qsTrId("harbour-books-settings-page-media-keys-section_header")
+ //% "Navigation"
+ text: qsTrId("harbour-books-settings-page-navigation-section_header")
}
BooksActionSelector {
@@ -282,6 +286,26 @@ Page {
defaultValue: 1 // BooksSettings.ActionPreviousPage
}
+ TextSwitch {
+ automaticCheck: false
+ checked: turnPageByTap.value
+ //: Text switch label
+ //% "Turn pages by tapping the screen"
+ text: qsTrId("harbour-books-settings-page-turn_pages_by_tap")
+ //: Text switch description
+ //% "Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page."
+ description: qsTrId("harbour-books-settings-page-turn_pages_by_tap-description")
+ onClicked: turnPageByTap.value = !turnPageByTap.value
+
+ ConfigurationValue {
+ id: turnPageByTap
+ key: rootPath + "turnPageByTap"
+ defaultValue: false
+ }
+ }
+
+ // =============== Memory card ===============
+
SectionHeader {
//: Section header for memory card settings
//% "Memory card"
diff --git a/app/translations/harbour-books-de.ts b/app/translations/harbour-books-de.ts
index 31690ea..e3bee45 100644
--- a/app/translations/harbour-books-de.ts
+++ b/app/translations/harbour-books-de.ts
@@ -229,10 +229,10 @@
Text switch description
-