Add UI tests

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