mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-17 01:35:03 +01:00
Add temporary workarounds until conductor is removed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
1246223859
commit
9c9259b730
@ -1293,16 +1293,17 @@ class ConversationsListActivity :
|
||||
Log.d(TAG, "No other users found. AccountRemovalWorker will restart the app.")
|
||||
}
|
||||
}
|
||||
.setNegativeButton(R.string.nc_settings_reauthorize) { _, _ ->
|
||||
// TODO
|
||||
// router.pushController(
|
||||
// RouterTransaction.with(
|
||||
// WebViewLoginController(currentUser!!.baseUrl, true)
|
||||
// )
|
||||
// .pushChangeHandler(VerticalChangeHandler())
|
||||
// .popChangeHandler(VerticalChangeHandler())
|
||||
// )
|
||||
}
|
||||
|
||||
// TODO: show negative button again when conductor is removed
|
||||
// .setNegativeButton(R.string.nc_settings_reauthorize) { _, _ ->
|
||||
// // router.pushController(
|
||||
// // RouterTransaction.with(
|
||||
// // WebViewLoginController(currentUser!!.baseUrl, true)
|
||||
// // )
|
||||
// // .pushChangeHandler(VerticalChangeHandler())
|
||||
// // .popChangeHandler(VerticalChangeHandler())
|
||||
// // )
|
||||
// }
|
||||
|
||||
viewThemeUtils.dialog.colorMaterialAlertDialogBackground(it.context, dialogBuilder)
|
||||
val dialog = dialogBuilder.show()
|
||||
@ -1335,8 +1336,10 @@ class ConversationsListActivity :
|
||||
}
|
||||
.setNegativeButton(R.string.nc_cancel) { _, _ ->
|
||||
if (userManager.users.blockingGet().isNotEmpty()) {
|
||||
// TODO
|
||||
// TODO show SwitchAccount screen again when conductor is removed instead to close app
|
||||
// router.pushController(RouterTransaction.with(SwitchAccountController()))
|
||||
finishAffinity()
|
||||
finish()
|
||||
} else {
|
||||
finishAffinity()
|
||||
finish()
|
||||
|
Loading…
Reference in New Issue
Block a user