Fix emoji search fragment crash.

This commit is contained in:
Alex Hart
2022-01-21 09:17:37 -04:00
committed by Greyson Parrelli
parent 9f622bd689
commit a641020ec0

View File

@@ -26,7 +26,7 @@ class EmojiSearchFragment : Fragment(R.layout.emoji_search_fragment), EmojiPageV
override fun onAttach(context: Context) {
super.onAttach(context)
callback = context as Callback
callback = findListener<Callback>()!!
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {