fix(StatusDisplayItem): explictly copy filter list
Fixes an issue, where the app could crash when trying to add client-side filters to an immutable list. This was the case for viewing scheduled statuses
This commit is contained in:
parent
6ad8a85044
commit
9a1668a29a
|
@ -230,7 +230,7 @@ public abstract class StatusDisplayItem{
|
|||
|
||||
LegacyFilter applyingFilter=null;
|
||||
if(status.filtered!=null){
|
||||
List<FilterResult> filters=status.filtered;
|
||||
ArrayList<FilterResult> filters= new ArrayList<>(status.filtered);
|
||||
|
||||
// Only add client filters if there are no pre-existing status filter
|
||||
if(filters.isEmpty())
|
||||
|
|
Loading…
Reference in New Issue