Re-enable update check job for Android M

This commit is contained in:
arkon
2021-04-28 08:55:30 -04:00
parent 0afe3011bc
commit f0eacf4218
2 changed files with 5 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
package eu.kanade.tachiyomi.ui.more
import android.app.Dialog
import android.os.Build
import android.os.Bundle
import androidx.core.os.bundleOf
import androidx.preference.PreferenceScreen
@@ -143,11 +142,6 @@ class AboutController : SettingsController() {
private fun checkVersion() {
if (activity == null) return
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.M) {
activity?.toast(R.string.update_check_eol)
return
}
activity?.toast(R.string.update_check_look_for_updates)
launchNow {