Add missing code to sign out when user click on the action

This commit is contained in:
Benoit Marty 2020-10-05 14:58:07 +02:00
parent 724c1132b6
commit 85c8092e65
1 changed files with 4 additions and 0 deletions

View File

@ -138,6 +138,10 @@ class SignOutBottomSheetDialogFragment : VectorBaseBottomSheetDialogFragment(),
}
}
signOutButton.action = {
onSignOut?.run()
}
exportManuallyButton.action = {
withState(viewModel) { state ->
queryExportKeys(state.userId, QUERY_EXPORT_KEYS)