Add animations

This commit is contained in:
Alfonso Grillo
2022-11-03 14:55:33 +01:00
parent 7c8038ef36
commit 0d2b7a85da
2 changed files with 4 additions and 2 deletions

View File

@@ -143,7 +143,9 @@ struct UserSessionsOverview: View {
private var otherSessionsMenu: some View {
Menu {
Button {
viewModel.send(viewAction: .showLocationInfo)
withAnimation {
viewModel.send(viewAction: .showLocationInfo)
}
} label: {
Label(showLocationInfo: viewModel.viewState.showLocationInfo)
}