diff options
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsView.qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetailsView.qml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml index 4c816e215..bb7a10019 100644 --- a/mobile-widgets/qml/DiveDetailsView.qml +++ b/mobile-widgets/qml/DiveDetailsView.qml @@ -116,31 +116,31 @@ Item { Kirigami.Icon { width: height height: subsurfaceTheme.regularPointSize - anchors.verticalCenter: ratingText.verticalCenter + anchors.verticalCenter: ratingText.verticalCenter source: (dive.rating >= 1) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" } Kirigami.Icon { width: height height: subsurfaceTheme.regularPointSize - anchors.verticalCenter: ratingText.verticalCenter + anchors.verticalCenter: ratingText.verticalCenter source: (dive.rating >= 2) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" } Kirigami.Icon { width: height height: subsurfaceTheme.regularPointSize - anchors.verticalCenter: ratingText.verticalCenter + anchors.verticalCenter: ratingText.verticalCenter source: (dive.rating >= 3) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" } Kirigami.Icon { width: height height: subsurfaceTheme.regularPointSize - anchors.verticalCenter: ratingText.verticalCenter + anchors.verticalCenter: ratingText.verticalCenter source: (dive.rating >= 4) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" } Kirigami.Icon { width: height height: subsurfaceTheme.regularPointSize - anchors.verticalCenter: ratingText.verticalCenter + anchors.verticalCenter: ratingText.verticalCenter source: (dive.rating === 5) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" } } @@ -159,31 +159,31 @@ Item { Kirigami.Icon { width: height height: subsurfaceTheme.regularPointSize - anchors.verticalCenter: visibilityText.verticalCenter + anchors.verticalCenter: visibilityText.verticalCenter source: (dive.visibility >= 1) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" } Kirigami.Icon { width: height height: subsurfaceTheme.regularPointSize - anchors.verticalCenter: visibilityText.verticalCenter + anchors.verticalCenter: visibilityText.verticalCenter source: (dive.visibility >= 2) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" - } + } Kirigami.Icon { width: height height: subsurfaceTheme.regularPointSize - anchors.verticalCenter: visibilityText.verticalCenter + anchors.verticalCenter: visibilityText.verticalCenter source: (dive.visibility >= 3) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" } Kirigami.Icon { width: height height: subsurfaceTheme.regularPointSize - anchors.verticalCenter: visibilityText.verticalCenter + anchors.verticalCenter: visibilityText.verticalCenter source: (dive.visibility >= 4) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" } Kirigami.Icon { width: height height: subsurfaceTheme.regularPointSize - anchors.verticalCenter: visibilityText.verticalCenter + anchors.verticalCenter: visibilityText.verticalCenter source: (dive.visibility === 5) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" } } |