mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-09-19 05:00:48 +00:00
Geohash list: gate empty/render using visibleGeohashPeople() so header count and list visibility are consistent
This commit is contained in:
parent
d4b779080a
commit
9d5105a8bf
@ -10,7 +10,7 @@ struct GeohashPeopleList: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
Group {
|
Group {
|
||||||
if viewModel.geohashPeople.isEmpty {
|
if viewModel.visibleGeohashPeople().isEmpty {
|
||||||
Text("nobody around...")
|
Text("nobody around...")
|
||||||
.font(.system(size: 14, design: .monospaced))
|
.font(.system(size: 14, design: .monospaced))
|
||||||
.foregroundColor(secondaryTextColor)
|
.foregroundColor(secondaryTextColor)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user