mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-03-30 08:17:46 +02:00
Merge branch 'master' into fix-search-hidden
This commit is contained in:
commit
a7e7f3477c
3 changed files with 5 additions and 1 deletions
|
@ -108,6 +108,7 @@ dependencies {
|
||||||
implementation(libs.androidx.swiperefreshlayout)
|
implementation(libs.androidx.swiperefreshlayout)
|
||||||
implementation(libs.awebp)
|
implementation(libs.awebp)
|
||||||
implementation(libs.apng)
|
implementation(libs.apng)
|
||||||
|
implementation(libs.avif.integration)
|
||||||
implementation(libs.okio)
|
implementation(libs.okio)
|
||||||
implementation(libs.picasso) {
|
implementation(libs.picasso) {
|
||||||
exclude(group = "com.squareup.okhttp3", module = "okhttp")
|
exclude(group = "com.squareup.okhttp3", module = "okhttp")
|
||||||
|
|
|
@ -406,7 +406,9 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||||
}
|
}
|
||||||
|
|
||||||
window.decorView.setOnSystemUiVisibilityChangeListener { visibility ->
|
window.decorView.setOnSystemUiVisibilityChangeListener { visibility ->
|
||||||
mIsFullScreen = if (isNougatPlus() && isInMultiWindowMode) {
|
mIsFullScreen = if (isUpsideDownCakePlus()) {
|
||||||
|
visibility and View.SYSTEM_UI_FLAG_LOW_PROFILE != 0
|
||||||
|
} else if (isNougatPlus() && isInMultiWindowMode) {
|
||||||
visibility and View.SYSTEM_UI_FLAG_LOW_PROFILE != 0
|
visibility and View.SYSTEM_UI_FLAG_LOW_PROFILE != 0
|
||||||
} else if (visibility and View.SYSTEM_UI_FLAG_LOW_PROFILE == 0) {
|
} else if (visibility and View.SYSTEM_UI_FLAG_LOW_PROFILE == 0) {
|
||||||
false
|
false
|
||||||
|
|
|
@ -68,6 +68,7 @@ awebp = { module = "com.github.penfeizhou.android.animation:awebp", version.ref
|
||||||
glide-compiler = { module = "com.github.bumptech.glide:ksp", version.ref = "glideCompiler" }
|
glide-compiler = { module = "com.github.bumptech.glide:ksp", version.ref = "glideCompiler" }
|
||||||
zjupure-webpdecoder = { module = "com.github.zjupure:webpdecoder", version.ref = "zjupureWebpdecoder" }
|
zjupure-webpdecoder = { module = "com.github.zjupure:webpdecoder", version.ref = "zjupureWebpdecoder" }
|
||||||
picasso = { module = "com.squareup.picasso:picasso", version.ref = "picasso" }
|
picasso = { module = "com.squareup.picasso:picasso", version.ref = "picasso" }
|
||||||
|
avif-integration = { group = "com.github.bumptech.glide", name = "avif-integration", version.ref = "glideCompiler" }
|
||||||
[bundles]
|
[bundles]
|
||||||
room = [
|
room = [
|
||||||
"androidx-room-ktx",
|
"androidx-room-ktx",
|
||||||
|
|
Loading…
Add table
Reference in a new issue