mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Extended Piped support
This commit is contained in:
@@ -32,15 +32,15 @@ struct AccountSelectionView: View {
|
||||
.id(UUID())
|
||||
}
|
||||
|
||||
var allAccounts: [Instance.Account] {
|
||||
var allAccounts: [Account] {
|
||||
accounts + instances.map(\.anonymousAccount)
|
||||
}
|
||||
|
||||
private var nextAccount: Instance.Account? {
|
||||
private var nextAccount: Account? {
|
||||
allAccounts.next(after: accountsModel.current)
|
||||
}
|
||||
|
||||
func accountButtonTitle(account: Instance.Account! = nil) -> String {
|
||||
func accountButtonTitle(account: Account! = nil) -> String {
|
||||
guard account != nil else {
|
||||
return "Not selected"
|
||||
}
|
||||
|
Reference in New Issue
Block a user