Fix respecting bot overlay preference in detailed status view. (#1368)

Closes #1364
This commit is contained in:
Levi Bard 2019-07-07 14:41:08 +02:00 committed by Konrad Pozniak
parent 39a59f4ade
commit c3cae4a603
1 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,8 @@ public final class ViewThreadFragment extends SFragment implements
adapter.setUseAbsoluteTime(useAbsoluteTime); adapter.setUseAbsoluteTime(useAbsoluteTime);
boolean animateAvatars = preferences.getBoolean("animateGifAvatars", false); boolean animateAvatars = preferences.getBoolean("animateGifAvatars", false);
adapter.setAnimateAvatar(animateAvatars); adapter.setAnimateAvatar(animateAvatars);
boolean showBotIndicator = preferences.getBoolean("showBotOverlay", true);
adapter.setShowBotOverlay(showBotIndicator);
recyclerView.setAdapter(adapter); recyclerView.setAdapter(adapter);