Fix: Wrong dialog text
This commit is contained in:
parent
dc92b1d824
commit
1610c82fec
@ -137,7 +137,7 @@ class SetupActivity : AppCompatActivity(), View.OnClickListener, ResultListener
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun showConfirmDialog(connection: SourceConnection) {
|
private fun showConfirmDialog(connection: SourceConnection) {
|
||||||
val needSetup = !SetupHelper.needSetup()
|
val needSetup = SetupHelper.needSetup()
|
||||||
val titleId = if (needSetup) R.string.setup_confirm else R.string.setup_reset_confirm
|
val titleId = if (needSetup) R.string.setup_confirm else R.string.setup_reset_confirm
|
||||||
val messageId = if (needSetup) R.string.setup_confirm_text else R.string.setup_reset_confirm_text
|
val messageId = if (needSetup) R.string.setup_confirm_text else R.string.setup_reset_confirm_text
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user