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