mirror of
https://github.com/ouchadam/small-talk.git
synced 2024-12-24 00:31:14 +01:00
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
|
||||
private fun Encryption(viewModel: SettingsViewModel, page: Page.Security) {
|
||||
Column {
|
||||
TextRow("Import room keys", includeDivider = false) {
|
||||
viewModel.goToImportRoom()
|
||||
}
|
||||
TextRow("Import room keys", includeDivider = false, onClick = { viewModel.goToImportRoom() })
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user