PR comments:
- StatusFilterPredicate sets clientFilters bases on settings - Reverted changes on SettingsFragment - Resources in strings_mo.xml - removed duplicate comments - conditional in onBind method
This commit is contained in:
@@ -16,6 +16,6 @@ public class AltTextFilter extends Filter {
|
||||
|
||||
@Override
|
||||
public boolean matches(Status status) {
|
||||
return !GlobalUserPreferences.showPostsWithoutAlt && status.getContentStatus().mediaAttachments.stream().map(attachment -> attachment.description).anyMatch(StringUtil::isBlank);
|
||||
return status.getContentStatus().mediaAttachments.stream().map(attachment -> attachment.description).anyMatch(StringUtil::isBlank);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user