mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Remove unused import
This commit is contained in:
parent
2ae3954422
commit
209febc5d6
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
package fr.free.nrw.commons.utils
|
package fr.free.nrw.commons.utils
|
||||||
|
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.view.ViewGroup
|
|
||||||
import android.view.ViewGroup.MarginLayoutParams
|
import android.view.ViewGroup.MarginLayoutParams
|
||||||
import androidx.core.view.ViewCompat
|
import androidx.core.view.ViewCompat
|
||||||
import androidx.core.view.WindowInsetsAnimationCompat
|
import androidx.core.view.WindowInsetsAnimationCompat
|
||||||
|
|
@ -158,6 +157,7 @@ fun applyEdgeToEdgeBottomInsets(view: View) = view.applyEdgeToEdgeInsets { inset
|
||||||
rightMargin = insets.right
|
rightMargin = insets.right
|
||||||
bottomMargin = insets.bottom
|
bottomMargin = insets.bottom
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adjusts a [View]'s bottom margin dynamically to account for the on-screen keyboard (IME),
|
* Adjusts a [View]'s bottom margin dynamically to account for the on-screen keyboard (IME),
|
||||||
* ensuring the view remains visible above the keyboard during transitions.
|
* ensuring the view remains visible above the keyboard during transitions.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue