mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 03:05:19 +00:00
Clarify peer dropdown UI elements order
- Added comments to clarify the order: dot, text, chevron - Notification dot works on both macOS and iOS - Elements are properly ordered left to right
This commit is contained in:
@@ -175,7 +175,7 @@ struct ContentView: View {
|
||||
}
|
||||
} label: {
|
||||
HStack(spacing: 4) {
|
||||
// Notification indicator for unread messages
|
||||
// Notification indicator for unread messages (on the left)
|
||||
if !viewModel.unreadPrivateMessages.isEmpty {
|
||||
Circle()
|
||||
.fill(Color.orange)
|
||||
@@ -187,7 +187,7 @@ struct ContentView: View {
|
||||
.font(.system(size: 14, design: .monospaced))
|
||||
.foregroundColor(viewModel.isConnected ? textColor : Color.red)
|
||||
|
||||
// Chevron
|
||||
// Chevron (on the right)
|
||||
Image(systemName: "chevron.down")
|
||||
.font(.system(size: 10))
|
||||
.foregroundColor(secondaryTextColor)
|
||||
|
||||
Reference in New Issue
Block a user