mirror of
https://github.com/spalencsar/bearwave.git
synced 2026-07-06 22:24:17 +02:00
fix(ui): keep the same header bar on the About page
Show SearchToolbar and QuickFilters on About instead of swapping in a separate stretched navigation row. Leaving About works via the sidebar, the clickable logo, or any search/filter action.
This commit is contained in:
@@ -211,7 +211,7 @@ ApplicationWindow {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
app: root
|
app: root
|
||||||
compactMode: root.compactMode
|
compactMode: root.compactMode
|
||||||
visible: root.compactMode || currentPage === "about"
|
visible: root.compactMode
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
@@ -219,7 +219,7 @@ ApplicationWindow {
|
|||||||
Layout.preferredHeight: 1
|
Layout.preferredHeight: 1
|
||||||
color: BearTheme.cardBorder
|
color: BearTheme.cardBorder
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
visible: root.compactMode || currentPage === "about"
|
visible: root.compactMode
|
||||||
}
|
}
|
||||||
|
|
||||||
SearchToolbar {
|
SearchToolbar {
|
||||||
@@ -228,14 +228,12 @@ ApplicationWindow {
|
|||||||
app: root
|
app: root
|
||||||
compactMode: root.compactMode
|
compactMode: root.compactMode
|
||||||
searchTimer: searchTimer
|
searchTimer: searchTimer
|
||||||
visible: currentPage !== "about"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QuickFilters {
|
QuickFilters {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
app: root
|
app: root
|
||||||
compactMode: root.compactMode
|
compactMode: root.compactMode
|
||||||
visible: currentPage !== "about"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
|||||||
Reference in New Issue
Block a user