Skip to content

Commit

Permalink
Fixes bug preventing banner-less games from being built
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleker committed Mar 25, 2017
1 parent 2befdf3 commit c4d02ec
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ public AdvancedOptions(Context context) {
}

public AdvancedOptions setBannerUrl(String bannerUrl) {
if (bannerUrl == null || bannerUrl.isEmpty()) {
// Exit early.
return this;
}
mReady++;
mBannerUrl = bannerUrl;
// Download from Glide.
Expand Down

0 comments on commit c4d02ec

Please sign in to comment.