mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 10:46:51 -07:00
Fix Connect Retry on Android
This commit is contained in:
parent
63c89c63af
commit
ed19f8610d
1 changed files with 3 additions and 6 deletions
|
@ -149,7 +149,7 @@ class StreamActivity : AppCompatActivity()
|
|||
dialog = null
|
||||
reconnect()
|
||||
}
|
||||
.setOnDismissListener {
|
||||
.setOnCancelListener {
|
||||
dialog = null
|
||||
finish()
|
||||
}
|
||||
|
@ -174,10 +174,7 @@ class StreamActivity : AppCompatActivity()
|
|||
dialog = null
|
||||
finish()
|
||||
}
|
||||
.setNegativeButton(R.string.action_quit_session) { _, _ ->
|
||||
dialog = null
|
||||
finish()
|
||||
}
|
||||
.setNegativeButton(R.string.action_quit_session) { _, _ -> }
|
||||
.create()
|
||||
dialogContents = CreateErrorDialog
|
||||
dialog.show()
|
||||
|
@ -204,7 +201,7 @@ class StreamActivity : AppCompatActivity()
|
|||
dialog = null
|
||||
viewModel.session.setLoginPin(pinEditText.text.toString())
|
||||
}
|
||||
.setOnDismissListener {
|
||||
.setOnCancelListener {
|
||||
dialog = null
|
||||
finish()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue