change title
This commit is contained in:
parent
6c7716ec16
commit
82168755e2
@ -75,23 +75,24 @@ struct SideMenuView: View {
|
||||
ZStack {
|
||||
Image(systemName: "person.circle.fill")
|
||||
.resizable()
|
||||
.frame(width: 40, height: 40)
|
||||
.frame(width: 32, height: 32) // Smaller icon
|
||||
.foregroundColor(.secondary)
|
||||
|
||||
if account.isCurrent {
|
||||
Image(systemName: "checkmark.circle.fill")
|
||||
.foregroundColor(.blue)
|
||||
.background(Circle().fill(Color(UIColor.systemBackground)))
|
||||
.font(.title3)
|
||||
.offset(x: 14, y: 14)
|
||||
.font(.body) // Smaller checkmark
|
||||
.offset(x: 11, y: 11) // Adjusted offset
|
||||
}
|
||||
}
|
||||
|
||||
VStack(alignment: .leading) {
|
||||
Text(account.name).font(.subheadline).bold()
|
||||
Text(account.username).font(.caption)
|
||||
Text(account.name).font(.footnote).bold() // Smaller text
|
||||
Text(account.username).font(.caption2) // Smaller text
|
||||
}
|
||||
.foregroundColor(.primary)
|
||||
}
|
||||
.foregroundColor(.primary) }
|
||||
|
||||
Spacer()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user