mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 14:05:18 +00:00
Geohash list: gate empty/render using visibleGeohashPeople() so header count and list visibility are consistent
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user