From 0a151f51df653ead9dfce26780da87319f6638bb Mon Sep 17 00:00:00 2001 From: jack Date: Sat, 13 Sep 2025 12:39:02 +0200 Subject: [PATCH] Notes header: move count before title as ' note(s) @ #gh'; remove parentheses; keep count non-bold --- bitchat/Views/LocationNotesView.swift | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bitchat/Views/LocationNotesView.swift b/bitchat/Views/LocationNotesView.swift index be3e5741..e35b8346 100644 --- a/bitchat/Views/LocationNotesView.swift +++ b/bitchat/Views/LocationNotesView.swift @@ -42,13 +42,12 @@ struct LocationNotesView: View { private var header: some View { HStack { VStack(alignment: .leading, spacing: 2) { - HStack(spacing: 6) { - Text("notes @ #\(geohash)") - .font(.system(size: 16, weight: .bold, design: .monospaced)) + HStack(spacing: 4) { let c = manager.notes.count - Text("(\(c) \(c == 1 ? "note" : "notes"))") - .font(.system(size: 12, design: .monospaced)) - .foregroundColor(secondaryTextColor) + Text("\(c) \(c == 1 ? "note" : "notes") ") + .font(.system(size: 16, weight: .regular, design: .monospaced)) + Text("@ #\(geohash)") + .font(.system(size: 16, weight: .bold, design: .monospaced)) } if let buildingName = locationManager.locationNames[.building], !buildingName.isEmpty { Text(buildingName)