fix crash in NotificationsFragment when Preferences are first accessed

fixes #797
This commit is contained in:
Conny Duck 2018-08-24 19:47:27 +02:00
commit 1fef8c0c2b
2 changed files with 8 additions and 2 deletions

View file

@ -233,6 +233,10 @@ public class NotificationsAdapter extends RecyclerView.Adapter {
mediaPreviewEnabled = enabled;
}
public boolean isMediaPreviewEnabled() {
return mediaPreviewEnabled;
}
public interface NotificationActionListener {
void onViewAccount(String id);