mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-15 02:36:12 -04:00
If permissins are not all granted, hide hint cards.
This commit is contained in:
@@ -156,7 +156,7 @@ class OverviewFragmentVM @Inject constructor(
|
||||
NoPairedDeviceCardVH.Item {
|
||||
generalSettings.showAll.value = true
|
||||
}.run { items.add(this) }
|
||||
} else if (showAll && mainPod == null) {
|
||||
} else if (showAll && mainPod == null && permissions.isEmpty()) {
|
||||
items.add(0, MissingMainDeviceVH.Item)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user