fixing import keys not closing due to wrong callback being triggered

This commit is contained in:
Adam Brown 2022-03-17 20:37:01 +00:00
parent 38c9e33a59
commit 509667f595
1 changed files with 1 additions and 3 deletions

View File

@ -199,9 +199,7 @@ private fun RootSettings(page: Page.Root, onClick: (SettingItem) -> Unit) {
@Composable @Composable
private fun Encryption(viewModel: SettingsViewModel, page: Page.Security) { private fun Encryption(viewModel: SettingsViewModel, page: Page.Security) {
Column { Column {
TextRow("Import room keys", includeDivider = false) { TextRow("Import room keys", includeDivider = false, onClick = { viewModel.goToImportRoom() })
viewModel.goToImportRoom()
}
} }
} }