mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Dont display empty view until loading has completed
This commit is contained in:
parent
d7ddad5c24
commit
f352a1501c
1 changed files with 3 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ struct GroupsView: View {
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} else if !viewModel.isLoading {
|
||||
Section {
|
||||
Text("""
|
||||
You are not a member of any groups.
|
||||
|
|
@ -153,6 +153,8 @@ struct GroupsView: View {
|
|||
""")
|
||||
.accentColor(.blue)
|
||||
}
|
||||
} else {
|
||||
ProgressView()
|
||||
}
|
||||
}
|
||||
.navigationTitle("Recommendation Groups")
|
||||
|
|
|
|||
Loading…
Reference in a new issue