Fix some sizing issues in the recipient bottom sheet.

This commit is contained in:
Greyson Parrelli
2021-11-05 00:20:35 -04:00
parent 4e2e525509
commit c26c455b3c
4 changed files with 24 additions and 11 deletions

View File

@@ -88,11 +88,6 @@ object ButtonStripPreference {
audioCall.setOnClickListener { model.onAudioClick() }
mute.setOnClickListener { model.onMuteClick() }
search.setOnClickListener { model.onSearchClick() }
val firstButton: View? = listOf(messageContainer, videoContainer, audioContainer, muteContainer, searchContainer).firstOrNull { it.visible }
if (firstButton != null) {
ViewUtil.setLeftMargin(firstButton, context.resources.getDimensionPixelSize(R.dimen.conversation_settings_button_strip_spacing))
}
}
}