mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Fixing crash on sdk =28 for emoji reactions
This commit is contained in:
parent
1393335121
commit
db6d67f53c
@ -99,7 +99,7 @@ class ReactionViewPagerAdapter extends ListAdapter<EmojiCount, ReactionViewPager
|
||||
|
||||
recycler.setLayoutParams(params);
|
||||
DividerItemDecoration decoration = new DividerItemDecoration(itemView.getContext(), LinearLayoutManager.VERTICAL);
|
||||
decoration.setDrawable(ContextUtil.requireDrawable(itemView.getContext(), R.drawable.vertical_divider));
|
||||
decoration.setDrawable(ContextUtil.requireDrawable(itemView.getContext(), R.drawable.horizontal_divider));
|
||||
recycler.addItemDecoration(decoration);
|
||||
recycler.setAdapter(adapter);
|
||||
}
|
||||
|
@ -68,7 +68,6 @@ public final class ReactionsDialogFragment extends BottomSheetDialogFragment imp
|
||||
|
||||
@Override
|
||||
public void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
// setStyle(DialogFragment.STYLE_NORMAL, R.style.Theme_Session_BottomSheet);
|
||||
super.onCreate(savedInstanceState);
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<size android:height="1dp"/>
|
||||
<solid android:color="?android:textColorTertiary"/>
|
||||
<solid android:color="?colorDividerBackground"/>
|
||||
</shape>
|
@ -8,7 +8,7 @@
|
||||
android:layout_gravity="top"
|
||||
android:alpha="0.3"
|
||||
android:layout_marginHorizontal="@dimen/small_spacing"
|
||||
android:background="?android:textColorTertiary"
|
||||
android:background="?colorDividerBackground"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
<LinearLayout android:layout_height="wrap_content"
|
||||
|
Loading…
Reference in New Issue
Block a user