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:
Dirk Hohndel 2020-12-20 17:14:01 -08:00
parent 68a15b8cdf
commit 535a15e5fd

View file

@ -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