make Status.filtered nullable to make some weird api implementations work again (#4426)
closes https://github.com/tuskyapp/Tusky/issues/4424
This commit is contained in:
parent
82817a089b
commit
3736034952
3 changed files with 5 additions and 4 deletions
|
|
@ -47,7 +47,7 @@ class FilterModel @Inject constructor() {
|
|||
}
|
||||
}
|
||||
|
||||
val matchingKind = status.filtered.filter { result ->
|
||||
val matchingKind = status.filtered.orEmpty().filter { result ->
|
||||
result.filter.kinds.contains(kind)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue