Add UI tests

This commit is contained in:
Alfonso Grillo
2022-10-26 18:49:47 +02:00
parent b90b9b539e
commit 0828b6a9d4
6 changed files with 65 additions and 22 deletions
@@ -59,7 +59,7 @@ struct UserOtherSessions: View {
.navigationBarBackButtonHidden(viewModel.isEditModeEnabled)
.accentColor(theme.colors.accent)
.bottomSheet(isPresented: $viewModel.showBottomSheet) {
InfoView(title: viewModel.viewState.bottomSheetTitle,
InfoSheet(title: viewModel.viewState.bottomSheetTitle,
description: viewModel.viewState.bottomSheetDescription,
action: .init(text: VectorL10n.userSessionGotIt, action: { viewModel.showBottomSheet = false }))
}