mirror of
https://github.com/whyorean/AuroraStore.git
synced 2026-06-19 21:19:16 -04:00
Issue #187 download button no longer shown if the app is not in play store
This commit is contained in:
@@ -30,6 +30,7 @@ public class ButtonDownload extends Button {
|
||||
@Override
|
||||
protected boolean shouldBeVisible() {
|
||||
return !Downloader.getApkPath(app.getPackageName(), app.getVersionCode()).exists()
|
||||
&& app.isInPlayStore()
|
||||
&& (!isLatestVersion() || activity instanceof ManualDownloadActivity)
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user