manager: Add desc to profile list item
This commit is contained in:
@@ -195,6 +195,7 @@ fun GroupsPanel(selected: List<Groups>, closeSelection: (selection: Set<Groups>)
|
|||||||
val options = groups.map { value ->
|
val options = groups.map { value ->
|
||||||
ListOption(
|
ListOption(
|
||||||
titleText = value.display,
|
titleText = value.display,
|
||||||
|
subtitleText = value.desc,
|
||||||
selected = selected.contains(value),
|
selected = selected.contains(value),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -257,6 +258,7 @@ fun CapsPanel(
|
|||||||
val options = caps.map { value ->
|
val options = caps.map { value ->
|
||||||
ListOption(
|
ListOption(
|
||||||
titleText = value.display,
|
titleText = value.display,
|
||||||
|
subtitleText = value.desc,
|
||||||
selected = selected.contains(value),
|
selected = selected.contains(value),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user