From 0dc77723cc32a45874892704fed68e699f7a2aed Mon Sep 17 00:00:00 2001 From: iSecNew10 Date: Thu, 6 Apr 2023 08:05:25 +0200 Subject: [PATCH] Making disabling ads easy (and disabled by default) also for AltStore apps --- appdb/Tabs/Featured/Details/Cells/Header/Details+Header.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appdb/Tabs/Featured/Details/Cells/Header/Details+Header.swift b/appdb/Tabs/Featured/Details/Cells/Header/Details+Header.swift index d466ed90..ae8d2a73 100644 --- a/appdb/Tabs/Featured/Details/Cells/Header/Details+Header.swift +++ b/appdb/Tabs/Featured/Details/Cells/Header/Details+Header.swift @@ -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