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