Refactor using Fable

This commit is contained in:
Agel committed 2026-07-31 17:31:02 +02:00
1 parent 1a60a6b93c
commit 83968646c6
90 files changed
+2080 -2267

No files matched your search

+6 -11
View File
@@ -33,19 +33,14 @@ Rectangle {
}
// Close button aligned with main header row
Button {
FlatIconButton {
anchors.right: parent.right
anchors.rightMargin: 12
y: ThemeManager.headerHeight / 2 - height / 2
z: 1
flat: true
contentItem: Text {
text: "\ue5cb"
font.family: "Material Icons Outlined"
font.pixelSize: 24
color: DarkTheme.sidebarButtonText
}
background: Item {}
iconText: "\ue5cb"
iconSize: 24
iconColor: ThemeManager.currentTheme.sidebarButtonText
onClicked: sidebar.closeDrawer()
}
@@ -174,8 +169,8 @@ Rectangle {
text: modelData.title
font.pixelSize: 13
color: readingModel.currentChapter === modelData.chapterIndex
? ThemeManager.sidebarButtonText
: ThemeManager.uiText
? ThemeManager.currentTheme.sidebarButtonText
: ThemeManager.currentTheme.uiText
elide: Text.ElideRight
wrapMode: Text.NoWrap
}