mirror of
https://github.com/yattee/yattee.git
synced 2025-10-12 18:38:16 +00:00
Extended Piped support
This commit is contained in:
@@ -22,11 +22,11 @@ struct AccountsMenuView: View {
|
||||
.transaction { t in t.animation = .none }
|
||||
}
|
||||
|
||||
private var allAccounts: [Instance.Account] {
|
||||
private var allAccounts: [Account] {
|
||||
accounts + instances.map(\.anonymousAccount)
|
||||
}
|
||||
|
||||
private func accountButtonTitle(account: Instance.Account) -> String {
|
||||
private func accountButtonTitle(account: Account) -> String {
|
||||
instances.count > 1 ? "\(account.description) — \(account.instance.description)" : account.description
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user