Limit gallery items to 150. Download filtering. Open rewards page from Invites reward driver card.

This commit is contained in:
Akinwale Ariwodola 2020-05-25 00:04:40 +01:00
parent 053ebbd70b
commit acbe33c66d
4 changed files with 21 additions and 5 deletions
app/src/main/java/io/lbry/browser/utils

View file

@ -660,8 +660,12 @@ public final class Helper {
for (int i = 0; i < files.size(); i++) {
LbryFile file = files.get(i);
// remove own claims as well
if (file.getClaim() != null && Lbry.ownClaims.contains(file.getClaim())) {
continue;
if (Lbry.ownClaims != null && Lbry.ownClaims.size() > 0) {
for (Claim own : Lbry.ownClaims) {
if (own.getClaimId().equalsIgnoreCase(file.getClaimId())) {
continue;
}
}
}
if (!Helper.isNullOrEmpty(file.getDownloadPath())) {
filtered.add(file);