Skip to content

Commit

Permalink
tried to resolve hideCercubeDownload
Browse files Browse the repository at this point in the history
  • Loading branch information
arichornlover authored Dec 22, 2022
1 parent bcdff99 commit 80cdb1a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Settings.xm
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ extern BOOL PinkUI();
hideCercubeDownload.switchVisible = NO;
hideCercubeDownload.on = [[NSUserDefaults standardUserDefaults] boolForKey:@"hideCercubeDownload_enabled"];
hideCercubeDownload.switchBlock = ^BOOL (YTSettingsCell *cell, BOOL enabled) {
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hideCercubeDownload_enabled"];
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"hideCercubeDownload_enabled"];
return YES;
};

Expand Down Expand Up @@ -372,5 +372,3 @@ extern BOOL PinkUI();
%orig;
}
%end

[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"hideCercubeDownload"]; // hideCercubeDownload Disabled - Reason was due because it no longer works.

0 comments on commit 80cdb1a

Please sign in to comment.