Permalink
Browse files

Stop floating comment toolbar from bouncing (#531)

Stop floating comment toolbar from bouncing each time a comment loads.
  • Loading branch information...
ajgoda90 authored and QuantumBadger committed Sep 24, 2017
1 parent 8536081 commit 4674cd4a43e64e7502864b2c7cc62ad55d96d464
@@ -558,7 +558,7 @@ public void onCommentListingRequestAllItemsDownloaded(final ArrayList<RedditComm
mCommentListingManager.addComments(items);
if(mFloatingToolbar != null) {
if(mFloatingToolbar != null && mFloatingToolbar.getVisibility() != View.VISIBLE) {
mFloatingToolbar.setVisibility(View.VISIBLE);
final Animation animation = AnimationUtils.loadAnimation(getContext(), R.anim.slide_in_from_bottom);
animation.setInterpolator(new OvershootInterpolator());

0 comments on commit 4674cd4

Please sign in to comment.