mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 13:05:18 +00:00
Header spacing: add breathing room between channel badge, notes button, and people count\n\n- Add trailing padding after #mesh/#geohash badge.\n- Add leading padding before notes button and people counter to improve readability.
This commit is contained in:
@@ -1174,6 +1174,7 @@ struct ContentView: View {
|
|||||||
.accessibilityLabel("location channels")
|
.accessibilityLabel("location channels")
|
||||||
}
|
}
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
|
.padding(.trailing, 8)
|
||||||
|
|
||||||
// Notes icon (mesh only and when location is authorized), to the right of #mesh
|
// Notes icon (mesh only and when location is authorized), to the right of #mesh
|
||||||
if case .mesh = locationManager.selectedChannel, locationManager.permissionState == .authorized {
|
if case .mesh = locationManager.selectedChannel, locationManager.permissionState == .authorized {
|
||||||
@@ -1195,6 +1196,7 @@ struct ContentView: View {
|
|||||||
.fixedSize(horizontal: true, vertical: false)
|
.fixedSize(horizontal: true, vertical: false)
|
||||||
}
|
}
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
|
.padding(.leading, 8)
|
||||||
.accessibilityLabel("Location notes for this place")
|
.accessibilityLabel("Location notes for this place")
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1208,6 +1210,7 @@ struct ContentView: View {
|
|||||||
.accessibilityHidden(true)
|
.accessibilityHidden(true)
|
||||||
}
|
}
|
||||||
.foregroundColor(headerCountColor)
|
.foregroundColor(headerCountColor)
|
||||||
|
.padding(.leading, 8)
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
.fixedSize(horizontal: true, vertical: false)
|
.fixedSize(horizontal: true, vertical: false)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user