Skip to content

Commit

Permalink
Making disabling ads easy (and disabled by default) also for AltStore…
Browse files Browse the repository at this point in the history
… apps
  • Loading branch information
iSecNew10 committed Apr 6, 2023
1 parent 0588479 commit 0dc7772
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class DetailsHeader: DetailsCell {
installButton!.setTitle("Install".localized().uppercased(), for: .normal)
installButton!.theme_tintColor = Color.softGreen
installButton!.addTarget(self, action: #selector(installTapped), for: .touchUpInside)
installButton!.isEnabled = Global.DEBUG || Preferences.isPlus
installButton!.isEnabled = !Global.showAds || Global.DEBUG || Preferences.isPlus
}
default:
break
Expand Down

0 comments on commit 0dc7772

Please sign in to comment.