mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-15 02:36:12 -04:00
Don't show "no paired device" card when we are still looking for permissions.
This commit is contained in:
@@ -152,7 +152,7 @@ class OverviewFragmentVM @Inject constructor(
|
||||
}
|
||||
.run { items.addAll(this) }
|
||||
|
||||
if (!showAll && items.none { it is PodDeviceVH.Item }) {
|
||||
if (!showAll && items.none { it is PodDeviceVH.Item } && permissions.isEmpty()) {
|
||||
NoPairedDeviceCardVH.Item {
|
||||
generalSettings.showAll.value = true
|
||||
}.run { items.add(this) }
|
||||
|
||||
Reference in New Issue
Block a user