Skip to content

Commit

Permalink
Actually fix control center on home button iPhone
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Mar 12, 2024
1 parent c45e254 commit 7001bbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions TweakSB.x
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ static uint16_t forcePadIdiom = 0;
%end

// Workaround for iPhones with home button not being able to open Control Center
%hook CCSControlCenterDefaults
- (NSUInteger)_defaultPresentationGesture {
return 1;
}
%end
%hook SBHomeGestureSettings
- (BOOL)isHomeGestureEnabled {
return YES;
Expand Down
2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: com.kdt.trollpad
Name: TrollPad
Version: 1.2.2
Version: 1.2.3
Architecture: iphoneos-arm
Description: Troll SpringBoard into thinking it's running on iPadOS.
Maintainer: khanhduytran0
Expand Down

0 comments on commit 7001bbd

Please sign in to comment.