wip
This commit is contained in:
parent
d6f08ca691
commit
78de092b06
|
@ -26,12 +26,6 @@ struct ContactsScreen: View {
|
|||
)
|
||||
|
||||
// Contacts list
|
||||
contactsList
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ViewBuilder private var contactsList: some View {
|
||||
if !clientsStore.actualRosters.isEmpty {
|
||||
List {
|
||||
ForEach(elements.indices, id: \.self) { index in
|
||||
|
@ -51,6 +45,8 @@ struct ContactsScreen: View {
|
|||
Spacer()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private var elements: [Any] {
|
||||
if clientsStore.clients.filter({ $0.credentials.isActive }).count == 1 {
|
||||
|
|
Loading…
Reference in a new issue