Skip to content

Commit

Permalink
Fix notification preview regression
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Jul 8, 2024
1 parent 9a8304f commit 299923e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions TweakSB.x
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,6 @@ static uint16_t forcePadIdiom = 0;
}
%end

%hook UITraitCollection
- (UIUserInterfaceIdiom)userInterfaceIdiom {
if (forcePadIdiom > 0) {
return UIUserInterfaceIdiomPad;
} else {
return %orig;
}
}
%end

/*
%hook SBFloatingDockView
- (CGFloat)contentHeightForBounds:(CGRect)frame {
Expand Down

0 comments on commit 299923e

Please sign in to comment.