mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 20:19:05 +01:00
Show EOL message if update check no-ops due to unsupported Android version
This commit is contained in:
@@ -15,7 +15,7 @@ class AppUpdateChecker {
|
||||
suspend fun checkForUpdate(context: Context, forceCheck: Boolean = false): GetApplicationRelease.Result {
|
||||
// Disabling app update checks for older Android versions that we're going to drop support for
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) {
|
||||
return GetApplicationRelease.Result.NoNewUpdate
|
||||
return GetApplicationRelease.Result.OsTooOld
|
||||
}
|
||||
|
||||
return withIOContext {
|
||||
|
||||
Reference in New Issue
Block a user