mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-19 21:13:12 -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
|
dialog = null
|
||||||
reconnect()
|
reconnect()
|
||||||
}
|
}
|
||||||
.setOnDismissListener {
|
.setOnCancelListener {
|
||||||
dialog = null
|
dialog = null
|
||||||
finish()
|
finish()
|
||||||
}
|
}
|
||||||
|
@ -174,10 +174,7 @@ class StreamActivity : AppCompatActivity()
|
||||||
dialog = null
|
dialog = null
|
||||||
finish()
|
finish()
|
||||||
}
|
}
|
||||||
.setNegativeButton(R.string.action_quit_session) { _, _ ->
|
.setNegativeButton(R.string.action_quit_session) { _, _ -> }
|
||||||
dialog = null
|
|
||||||
finish()
|
|
||||||
}
|
|
||||||
.create()
|
.create()
|
||||||
dialogContents = CreateErrorDialog
|
dialogContents = CreateErrorDialog
|
||||||
dialog.show()
|
dialog.show()
|
||||||
|
@ -204,7 +201,7 @@ class StreamActivity : AppCompatActivity()
|
||||||
dialog = null
|
dialog = null
|
||||||
viewModel.session.setLoginPin(pinEditText.text.toString())
|
viewModel.session.setLoginPin(pinEditText.text.toString())
|
||||||
}
|
}
|
||||||
.setOnDismissListener {
|
.setOnCancelListener {
|
||||||
dialog = null
|
dialog = null
|
||||||
finish()
|
finish()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue