Merge branch 'fix_opencollective_link_not_shown' into 'master'

fix opencollective badge not shown when it is the only donation option

See merge request fdroid/fdroidclient!1005
This commit is contained in:
Hans-Christoph Steiner 2021-05-13 21:30:54 +00:00
commit 97bc77b03a

View File

@ -262,7 +262,8 @@ public class AppDetailsRecyclerViewAdapter
uriIsSetAndCanBeOpened(app.getBitcoinUri()) || uriIsSetAndCanBeOpened(app.getBitcoinUri()) ||
uriIsSetAndCanBeOpened(app.getLitecoinUri()) || uriIsSetAndCanBeOpened(app.getLitecoinUri()) ||
uriIsSetAndCanBeOpened(app.getFlattrUri()) || uriIsSetAndCanBeOpened(app.getFlattrUri()) ||
uriIsSetAndCanBeOpened(app.getLiberapayUri()); uriIsSetAndCanBeOpened(app.getLiberapayUri()) ||
uriIsSetAndCanBeOpened(app.getOpenCollectiveUri());
} }
private void notifyVersionViewsChanged() { private void notifyVersionViewsChanged() {