mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 09:25:19 +00:00
Notes header: move count before title as '<N> note(s) @ #gh'; remove parentheses; keep count non-bold
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user