Some refactor

This commit is contained in:
Agel committed 2026-04-08 14:01:03 +02:00
1 parent 7ecb7f4f4f
commit 9280c838b2
37 files changed
+1599 -981

No files matched your search

+3 -3
View File
@@ -5,7 +5,7 @@ import Asteria
Rectangle {
id: overlay
color: ThemeManager.currentTheme.overlayBg
visible: bookController.errorMessage !== ""
visible: book.errorMessage !== ""
MouseArea {
anchors.fill: parent
@@ -33,7 +33,7 @@ Rectangle {
Text {
width: parent.width
text: bookController.errorMessage
text: book.errorMessage
font.pixelSize: 15
color: ThemeManager.currentTheme.readingText
horizontalAlignment: Text.AlignHCenter
@@ -55,7 +55,7 @@ Rectangle {
radius: 4
color: parent.hovered ? Qt.lighter(ThemeManager.currentTheme.primaryAccent, 1.15) : ThemeManager.currentTheme.primaryAccent
}
onClicked: bookController.clearError()
onClicked: book.clearError()
}
}
}