mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
check disabled option on DankButtonGroup + always show bluetooth
placeholder
This commit is contained in:
@@ -9,6 +9,7 @@ Row {
|
||||
property int currentIndex: -1
|
||||
property string selectionMode: "single"
|
||||
property bool multiSelect: selectionMode === "multi"
|
||||
property bool checkEnabled: true
|
||||
|
||||
signal selectionChanged(int index, bool selected)
|
||||
|
||||
@@ -143,7 +144,7 @@ Row {
|
||||
name: "check"
|
||||
size: Theme.iconSizeSmall
|
||||
color: segment.selected ? Theme.surfaceText : Theme.primaryText
|
||||
visible: segment.selected
|
||||
visible: root.checkEnabled && segment.selected
|
||||
opacity: segment.selected ? 1 : 0
|
||||
scale: segment.selected ? 1 : 0.6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user