Prevent crash

This commit is contained in:
M66B
2020-11-19 11:46:20 +01:00
parent 06738e7592
commit 43e975ab7f
4 changed files with 42 additions and 10 deletions

View File

@@ -943,10 +943,8 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
}
void setCompact(boolean compact) {
if (this.show_compact != compact) {
if (this.show_compact != compact)
this.show_compact = compact;
notifyDataSetChanged();
}
}
void setShowHidden(boolean show_hidden) {
@@ -957,10 +955,8 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
}
void setShowFlagged(boolean show_flagged) {
if (this.show_flagged != show_flagged) {
if (this.show_flagged != show_flagged)
this.show_flagged = show_flagged;
notifyDataSetChanged();
}
}
void setSubscribedOnly(boolean subscribed_only) {