Remove unused import

This commit is contained in:
Ritika Pahwa 2025-10-21 19:05:30 +05:30
parent 2ae3954422
commit 209febc5d6

View file

@ -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.