mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
mobile/UI: make filter entry / dives shown theme aware
Again, not using our text field / label (plus adding a subdued color for the placeholder text). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
68a15b8cdf
commit
535a15e5fd
1 changed files with 3 additions and 2 deletions
|
@ -397,12 +397,13 @@ Kirigami.ScrollablePage {
|
|||
manager.setFilter(sitefilter.text, currentIndex)
|
||||
}
|
||||
}
|
||||
Controls.TextField {
|
||||
TemplateTextField {
|
||||
id: sitefilter
|
||||
verticalAlignment: TextInput.AlignVCenter
|
||||
Layout.fillWidth: true
|
||||
text: ""
|
||||
placeholderText: sitefilterMode.currentText
|
||||
placeholderTextColor: subsurfaceTheme.secondaryTextColor
|
||||
onAccepted: {
|
||||
manager.setFilter(text, sitefilterMode.currentIndex)
|
||||
}
|
||||
|
@ -414,7 +415,7 @@ Kirigami.ScrollablePage {
|
|||
}
|
||||
}
|
||||
}
|
||||
Controls.Label {
|
||||
TemplateLabel {
|
||||
id: numShown
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
text: diveModel.shown
|
||||
|
|
Loading…
Reference in a new issue