Deleted redundant code

This commit is contained in:
tom5079
2020-08-30 20:12:06 +09:00
parent 7ca4418a50
commit aa0e5000ab

View File

@@ -132,18 +132,6 @@ class MainActivity : AppCompatActivity() {
if (lockManager.isNotEmpty())
startActivityForResult(Intent(this, LockActivity::class.java), R.id.request_lock.normalizeID())
if (Locale.getDefault().language == "ko") {
if (Preferences["https_block_alert"]) {
android.app.AlertDialog.Builder(this).apply {
setTitle(R.string.https_block_alert_title)
setMessage(R.string.https_block_alert)
setPositiveButton(android.R.string.ok) { _, _ -> }
}.show()
Preferences["https_block_alert"] = false
}
}
if (intent.action == Intent.ACTION_VIEW) {
intent.dataString?.let { url ->
restore(favorites, url,