mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-02-03 19:42:20 +00:00
Account selector: Refresh accounts more often
This commit is contained in:
parent
8561374a84
commit
8571800b31
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ public struct AppAccountsSelectorView: View {
|
||||||
.onChange(of: currentAccount.account?.id) { _ in
|
.onChange(of: currentAccount.account?.id) { _ in
|
||||||
refreshAccounts()
|
refreshAccounts()
|
||||||
}
|
}
|
||||||
|
.onAppear {
|
||||||
|
refreshAccounts()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ViewBuilder
|
@ViewBuilder
|
||||||
|
|
Loading…
Reference in a new issue