Show bottom sheet in user other sessions

This commit is contained in:
Alfonso Grillo
2022-10-26 16:29:57 +02:00
parent fc0d081f28
commit 7560a5a978
5 changed files with 42 additions and 14 deletions
@@ -85,7 +85,7 @@ struct UserSessionOverview: View {
.bottomSheet(isPresented: $viewModel.showBottomSheet) {
InfoView(title: viewModel.viewState.bottomSheetTitle,
descripion: viewModel.viewState.bottomSheetDescription,
action: .init(text: VectorL10n.userSessionGotIt, action: { $viewModel.showBottomSheet.wrappedValue = false }))
action: .init(text: VectorL10n.userSessionGotIt, action: { viewModel.showBottomSheet = false }))
}
}
}