Account selector: Refresh accounts more often

This commit is contained in:
Thomas Ricouard 2023-03-10 08:13:40 +01:00
parent 8561374a84
commit 8571800b31
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ public struct AppAccountsSelectorView: View {
.onChange(of: currentAccount.account?.id) { _ in
refreshAccounts()
}
.onAppear {
refreshAccounts()
}
}
@ViewBuilder