Prevent crash

This commit is contained in:
M66B
2019-05-11 07:06:48 +02:00
parent be66079667
commit c3eab6eee0
3 changed files with 11 additions and 7 deletions

View File

@@ -474,7 +474,7 @@ public class FragmentMessages extends FragmentBase {
int first = llm.findFirstVisibleItemPosition();
View child = rvMessage.getChildAt(pos - (first < 0 ? 0 : first));
if (child != null) {
Animation animation = AnimationUtils.loadAnimation(getContext(), R.anim.fade_in_fast);
Animation animation = AnimationUtils.loadAnimation(getContext(), R.anim.enter_from_bottom);
child.startAnimation(animation);
}