mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
New account selection menu
This commit is contained in:
@@ -112,7 +112,15 @@ struct SettingsView: View {
|
||||
List {
|
||||
#if os(tvOS)
|
||||
if !accounts.isEmpty {
|
||||
AccountSelectionView()
|
||||
Section(header: Text("Current Location")) {
|
||||
NavigationLink(destination: AccountsView()) {
|
||||
if let account = accounts.current {
|
||||
Text(account.isPublic ? account.description : "\(account.description) — \(account.instance.shortDescription)")
|
||||
} else {
|
||||
Text("Not Selected")
|
||||
}
|
||||
}
|
||||
}
|
||||
Divider()
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user