-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTweak.xm
95 lines (61 loc) · 1.27 KB
/
Tweak.xm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
//made by maxiwee without heart
// writing comments to get my commits up lmao
#import <UIKit/UIKit.h>
#import <Preferences/Preferences.h>
@interface _UINavigationBarLargeTitleView : UIView
@end
@interface _UIPageControlIndicatorContentView : UIView
@end
@interface SBIconBadgeView : UIView
@end
@interface SBIconView : UIView
- (void)setLabelHidden:(BOOL)arg1;
@end
@interface SBDockView : UIView
@property (nonatomic, retain) UIView *backgroundView;
@end
@interface CSFocusActivityView : UIView
@end
@interface CSQuickActionsView : UIView
@end
%hook _UINavigationBarLargeTitleView
- (void)layoutSubviews {
%orig;
self.hidden = YES;
}
%end
%hook _UIPageControlIndicatorContentView
- (void)didMoveToWindow {
%orig;
self.hidden = YES;
}
%end
%hook SBIconView
-(void)setLabelHidden:(BOOL)arg1 {
return %orig(YES);
}
%end
%hook MTLumaDodgePillSettings
-(void)setMinWidth:(double)arg1 {
%orig(0);
}
%end
%hook CSFocusActivityView
- (void)didMoveToWindow {
%orig;
[self removeFromSuperview];
}
%end
%hook CSQuickActionsView
- (void)didMoveToWindow {
%orig;
self.hidden = YES;
}
%end
%hook SBDockView
- (void) didMoveToWindow {
%orig;
UIView *bgView = MSHookIvar<UIView *>(self, "_backgroundView");
bgView.hidden = YES;
}
%end