mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-18 13:16:49 +00:00
Merge branch 'main' of https://github.com/Dimillian/IceCubesApp
This commit is contained in:
commit
aea5c3e151
1 changed files with 5 additions and 1 deletions
|
@ -83,8 +83,12 @@ public struct ConversationsListView: View {
|
|||
}
|
||||
}
|
||||
.refreshable {
|
||||
// note: this Task wrapper should not be necessary, but it reportedly crashes without it
|
||||
// when refreshing on an empty list
|
||||
Task {
|
||||
await viewModel.fetchConversations()
|
||||
}
|
||||
}
|
||||
.onAppear {
|
||||
viewModel.client = client
|
||||
if client.isAuth {
|
||||
|
|
Loading…
Reference in a new issue