Skip to content

Commit

Permalink
Fixed blank space issue on iOS15
Browse files Browse the repository at this point in the history
  • Loading branch information
p2kdev committed Apr 2, 2023
1 parent cb483a6 commit deb1d00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Tweak.xm
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ static double volumeControlOriginY = 150;
CGRect frame = %orig;
frame.size.height = mediaPlayerHeight;

CGRect temp = self.view.superview.superview.frame;
temp.size.height = mediaPlayerHeight;
self.view.superview.superview.frame = temp;

return frame;
}

-(double)_preferredMediaRemoteHeight
{
return mediaPlayerHeight;
}

%end

//Suggestions
Expand Down
2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: com.p2kdev.tinywidget14
Name: TinyWidget14
Depends: mobilesubstrate, firmware (>= 13)
Conflicts: ch.mdaus.utils, com.johnzaro.perfectmusic13, com.p2kdev.tinywidget
Version: 1.0.1
Version: 1.0.2
Architecture: iphoneos-arm
Description: Tiny Music Widget on LockScreen!
Maintainer: P2KDev <[email protected]>
Expand Down

0 comments on commit deb1d00

Please sign in to comment.