mirror of
https://github.com/yattee/yattee.git
synced 2025-01-05 04:17:02 +00:00
Fix displaying account username
This commit is contained in:
parent
1ae12cfa21
commit
aef0ba6ffd
@ -30,7 +30,6 @@ struct AccountViewButton: View {
|
|||||||
|
|
||||||
if accountPickerDisplaysUsername {
|
if accountPickerDisplaysUsername {
|
||||||
label
|
label
|
||||||
.labelStyle(.titleOnly)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -47,6 +46,6 @@ struct AccountViewButton: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private var label: some View {
|
private var label: some View {
|
||||||
Label(model.current?.description ?? "Select Account", systemImage: "globe")
|
Text(model.current?.description ?? "Select Account")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user