Skip to content

Commit

Permalink
Bug fixes and minor UI modifications
Browse files Browse the repository at this point in the history
Minor status bar appearance fixes
Hide notification hints in cover sheet
Hide unlock hints
  • Loading branch information
VitaTaf committed Jan 30, 2018
1 parent b0c7916 commit e13ab31
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions Tweak.xm
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@ long _homeButtonType = 1;
return;
}
%end
// Prevent status bar from flashing when invoking control center
%hook CCUIModularControlCenterOverlayViewController
- (void)setOverlayStatusBarHidden:(bool)arg1 {
return;
}
%end
// Prevent status bar from displaying in fullscreen when invoking control center
%hook CCUIStatusBarStyleSnapshot
- (bool)isHidden {
return YES;
}
%end

// Hide home bar in cover sheet
%hook SBDashboardHomeAffordanceView
Expand All @@ -82,4 +94,18 @@ long _homeButtonType = 1;
- (id)initWitHomeButtonType:(long long)arg1 {
return %orig(_homeButtonType);
}
%end

// Hide notification hints
%hook NCNotificationListSectionRevealHintView
- (void)_updateHintTitle {
return;
}
%end

// Hide unlock hints
%hook SBDashBoardTeachableMomentsContainerViewController
- (void)_updateTextLabel {
return;
}
%end
2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: com.VitaTaf.HomeGesture
Name: HomeGesture
Depends: mobilesubstrate
Version: 1.1
Version: 1.2
Architecture: iphoneos-arm
Description: Enable iPhone X home gesture on other devices.
Maintainer: VitaTaf
Expand Down

0 comments on commit e13ab31

Please sign in to comment.