fixing import keys not closing due to wrong callback being triggered
This commit is contained in:
parent
38c9e33a59
commit
509667f595
|
@ -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()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue