mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Refactor handleKeyboardInsets()
Some checks are pending
Android CI / Run tests and generate APK (push) Waiting to run
Some checks are pending
Android CI / Run tests and generate APK (push) Waiting to run
This commit is contained in:
parent
3f2c75ce11
commit
c09365737f
1 changed files with 2 additions and 2 deletions
|
|
@ -170,8 +170,8 @@ fun View.handleKeyboardInsets() {
|
|||
val existingBottomMargin = if (view.getTag(R.id.initial_margin_bottom) != null) {
|
||||
view.getTag(R.id.initial_margin_bottom) as Int
|
||||
} else {
|
||||
view.setTag(R.id.initial_margin_bottom, marginBottom)
|
||||
marginBottom
|
||||
view.setTag(R.id.initial_margin_bottom, view.marginBottom)
|
||||
view.marginBottom
|
||||
}
|
||||
|
||||
val lp = layoutParams as MarginLayoutParams
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue