summaryrefslogtreecommitdiff
path: root/Tweak.xm
diff options
context:
space:
mode:
Diffstat (limited to 'Tweak.xm')
-rw-r--r--Tweak.xm5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tweak.xm b/Tweak.xm
index 9b4a133..5b6f143 100644
--- a/Tweak.xm
+++ b/Tweak.xm
@@ -278,6 +278,11 @@ static void AlertIfNeeded() {
#define Paper_ "/Library/MobileSubstrate/MobileSafety.png"
+%hook SBWallpaperImage
++ (id) alloc {
+ return nil;
+} %end
+
%hook UIImage
+ (UIImage *) defaultDesktopImage {
return [UIImage imageWithContentsOfFile:@Paper_];