few refactors
This commit is contained in:
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -203,7 +203,7 @@ ApplicationWindow {
|
||||
target: book
|
||||
function onBookChanged() {
|
||||
if (!book.hasBook && window.currentPage === "reader")
|
||||
window.currentPage = "starter"
|
||||
window.currentPage = "history"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ Rectangle {
|
||||
width: ThemeManager.sidebarWidth
|
||||
|
||||
SideBarButton {
|
||||
visible: book.hasBook
|
||||
iconText: "\ue86d"
|
||||
title: "Book"
|
||||
onClicked: sidebar.navigateTo("reader")
|
||||
|
||||
Reference in new issue
Block a user