summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DownloadedDiveDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/DownloadedDiveDelegate.qml')
-rw-r--r--mobile-widgets/qml/DownloadedDiveDelegate.qml20
1 files changed, 20 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DownloadedDiveDelegate.qml b/mobile-widgets/qml/DownloadedDiveDelegate.qml
index 630382e34..f6ed3c663 100644
--- a/mobile-widgets/qml/DownloadedDiveDelegate.qml
+++ b/mobile-widgets/qml/DownloadedDiveDelegate.qml
@@ -36,6 +36,26 @@ Kirigami.AbstractListItem {
checked: innerListItem.selected;
width: childrenRect.heigh - Kirigami.Units.smallSpacing;
height: childrenRect.heigh - Kirigami.Units.smallSpacing;
+ indicator: Rectangle {
+ visible: diveIsSelected
+ implicitWidth: 20
+ implicitHeight: 20
+ x: isBluetooth.leftPadding
+ y: parent.height / 2 - height / 2
+ radius: 4
+ border.color: diveIsSelected.down ? subsurfaceTheme.PrimaryColor : subsurfaceTheme.darkerPrimaryColor
+ color: subsurfaceTheme.backgroundColor
+
+ Rectangle {
+ width: 12
+ height: 12
+ x: 4
+ y: 4
+ radius: 3
+ color: diveIsSelected.down ? subsurfaceTheme.PrimaryColor : subsurfaceTheme.darkerPrimaryColor
+ visible: diveIsSelected && diveIsSelected.checked
+ }
+ }
}
Item {
id: diveListEntry