few refactors

This commit is contained in:
Agel committed 2026-07-07 19:25:28 +02:00
1 parent 4f7ac82d62
commit 1a60a6b93c
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -203,7 +203,7 @@ ApplicationWindow {
target: book
function onBookChanged() {
if (!book.hasBook && window.currentPage === "reader")
window.currentPage = "starter"
window.currentPage = "history"
}
}
+1
View File
@@ -55,6 +55,7 @@ Rectangle {
width: ThemeManager.sidebarWidth
SideBarButton {
visible: book.hasBook
iconText: "\ue86d"
title: "Book"
onClicked: sidebar.navigateTo("reader")