Fix haptic feedback for account selector

This commit is contained in:
Thomas Ricouard 2023-01-24 11:40:18 +01:00
parent 204427c1e5
commit 4927b12e90

View file

@ -41,8 +41,10 @@ public struct AppAccountsSelectorView: View {
}
}
}
.onAppear {
.onTapGesture {
feedbackGenerator.impactOccurred(intensity: 0.3)
}
.onAppear {
refreshAccounts()
}
.onChange(of: currentAccount.account?.id) { _ in