Skip to content

Commit

Permalink
Raise minSdk to 28 (Android 9.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroBrine1st committed Jun 16, 2024
1 parent fe13117 commit e5b738a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions app/src/main/java/ru/herobrine1st/e621/Application.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@
package ru.herobrine1st.e621

import android.app.Application
import android.os.Build
import coil.ImageLoader
import coil.ImageLoaderFactory
import coil.decode.GifDecoder
import coil.decode.ImageDecoderDecoder
import coil.disk.DiskCache
import okhttp3.OkHttpClient
Expand All @@ -47,7 +45,7 @@ class Application : Application(), ImageLoaderFactory {
.build()
}
.components {
add(if (Build.VERSION.SDK_INT >= 28) ImageDecoderDecoder.Factory() else GifDecoder.Factory())
add(ImageDecoderDecoder.Factory())
}
.build()
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ kotlinx-serialization = "1.6.3"
kotlinx-datetime = "0.6.0"

android-compileSdk = "34"
android-minSdk = "27"
android-minSdk = "28"
android-targetSdk = "34"

[libraries]
Expand Down

0 comments on commit e5b738a

Please sign in to comment.