If permissins are not all granted, hide hint cards.

This commit is contained in:
darken
2022-01-18 16:03:52 +01:00
parent af0c4307e9
commit 81de4faa2d
@@ -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)
}