correct themeing for reactions bottom sheet

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-08-02 16:26:57 +02:00
parent 02e18046cf
commit b2e21aef7c
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -90,6 +90,7 @@ class ShowReactionsDialog(
binding = DialogMessageReactionsBinding.inflate(layoutInflater)
setContentView(binding.root)
window?.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
viewThemeUtils.themeDialog(binding.root)
adapter = ReactionsAdapter(this, user)
binding.reactionsList.adapter = adapter
binding.reactionsList.layoutManager = LinearLayoutManager(context)
@ -148,6 +149,8 @@ class ShowReactionsDialog(
})
viewThemeUtils.colorTabLayout(binding.emojiReactionsTabs)
binding.emojiReactionsTabs.setBackgroundColor(
viewThemeUtils.getScheme(binding.emojiReactionsTabs .context).surface)
updateParticipantsForEmoji(chatMessage, tagAll)
}