diff --git a/CHANGES.md b/CHANGES.md index 65d046bdf3..c8f7d5365b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -12,6 +12,7 @@ Other changes: Bugfix 🐛: - Do not show long click help if only invitation are displayed + - Fix emoji filtering not working Translations 🗣: - diff --git a/vector/src/main/java/im/vector/riotx/features/reactions/EmojiSearchResultFragment.kt b/vector/src/main/java/im/vector/riotx/features/reactions/EmojiSearchResultFragment.kt index 029f468b70..e5b46c2176 100644 --- a/vector/src/main/java/im/vector/riotx/features/reactions/EmojiSearchResultFragment.kt +++ b/vector/src/main/java/im/vector/riotx/features/reactions/EmojiSearchResultFragment.kt @@ -20,12 +20,12 @@ import android.view.View import androidx.recyclerview.widget.DividerItemDecoration import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView -import com.airbnb.epoxy.EpoxyRecyclerView import com.airbnb.mvrx.activityViewModel import com.airbnb.mvrx.withState import im.vector.riotx.R import im.vector.riotx.core.platform.VectorBaseFragment import im.vector.riotx.core.utils.LiveEvent +import kotlinx.android.synthetic.main.fragment_generic_recycler_epoxy.* import javax.inject.Inject class EmojiSearchResultFragment @Inject constructor( @@ -50,7 +50,6 @@ class EmojiSearchResultFragment @Inject constructor( } val lmgr = LinearLayoutManager(context, RecyclerView.VERTICAL, false) - val epoxyRecyclerView = view as? EpoxyRecyclerView ?: return epoxyRecyclerView.layoutManager = lmgr val dividerItemDecoration = DividerItemDecoration(epoxyRecyclerView.context, lmgr.orientation) epoxyRecyclerView.addItemDecoration(dividerItemDecoration) diff --git a/vector/src/main/res/layout/activity_emoji_reaction_picker.xml b/vector/src/main/res/layout/activity_emoji_reaction_picker.xml index 9d680e6221..16c0ae3c8b 100644 --- a/vector/src/main/res/layout/activity_emoji_reaction_picker.xml +++ b/vector/src/main/res/layout/activity_emoji_reaction_picker.xml @@ -19,8 +19,9 @@ android:name="im.vector.riotx.features.reactions.EmojiSearchResultFragment" android:layout_width="match_parent" android:layout_height="match_parent" + android:visibility="gone" app:layout_behavior="@string/appbar_scrolling_view_behavior" - android:visibility="gone" /> + tools:visibility="visible" />