Fix: Wrong dialog text

This commit is contained in:
zt515 2017-12-18 00:13:24 +08:00
parent dc92b1d824
commit 1610c82fec

View File

@ -137,7 +137,7 @@ class SetupActivity : AppCompatActivity(), View.OnClickListener, ResultListener
}
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 messageId = if (needSetup) R.string.setup_confirm_text else R.string.setup_reset_confirm_text