mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Fix color of bottom bar when attachment keyboard is open.
This commit is contained in:
@@ -67,7 +67,7 @@ class InputAwareConstraintLayout @JvmOverloads constructor(
|
||||
removeKeyboardStateListener(this)
|
||||
}
|
||||
|
||||
override fun onInputShown() = Unit
|
||||
override fun onInputShown(fragmentCreatorId: Int) = Unit
|
||||
override fun onKeyboardShown() = Unit
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ class InputAwareConstraintLayout @JvmOverloads constructor(
|
||||
overrideKeyboardGuidelineWithPreviousHeight()
|
||||
ViewUtil.hideKeyboard(context, imeTarget)
|
||||
|
||||
listeners.forEach { it.onInputShown() }
|
||||
listeners.forEach { it.onInputShown(fragmentCreator.id) }
|
||||
}
|
||||
|
||||
private fun hideInput(resetKeyboardGuideline: Boolean) {
|
||||
@@ -152,7 +152,7 @@ class InputAwareConstraintLayout @JvmOverloads constructor(
|
||||
}
|
||||
|
||||
interface Listener {
|
||||
fun onInputShown()
|
||||
fun onInputShown(fragmentCreatorId: Int)
|
||||
fun onInputHidden()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user