From 535a15e5fd8116dc5aefe5c247b2182afe491099 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 20 Dec 2020 17:14:01 -0800 Subject: 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 --- mobile-widgets/qml/DiveList.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index c2c8b404f..74662bce1 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -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 -- cgit v1.2.3-70-g09d2