Skip to content

Commit

Permalink
v.1.3.1
Browse files Browse the repository at this point in the history
- Remove the 1x1 size requirement if Prysm is installed
  • Loading branch information
Muirey03 committed Mar 28, 2020
1 parent bf072b2 commit 364b914
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions Source/PowerModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ -(CCUILayoutSize)moduleSizeForOrientation:(int)orientation

-(BOOL)smallSize
{
BOOL (^isPrysmInstalled)(void) = ^BOOL{
return !!objc_getClass("PrysmModuleInstanceManager");
};
return isPrysmInstalled() || [[[[NSUserDefaults alloc] initWithSuiteName:@"com.muirey03.powermoduleprefs"] objectForKey:@"moduleSize"] isEqualToString:@"1x1"];
return [[[[NSUserDefaults alloc] initWithSuiteName:@"com.muirey03.powermoduleprefs"] objectForKey:@"moduleSize"] isEqualToString:@"1x1"];
}
@end
2 changes: 1 addition & 1 deletion Source/control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: com.muirey03.powermodule
Name: PowerModule
Depends: mobilesubstrate, com.opa334.ccsupport, preferenceloader
Version: 1.3.0
Version: 1.3.1
Architecture: iphoneos-arm
Description: Group different utility actions into one control center module (iOS 11 only)
Author: Muirey03
Expand Down
2 changes: 0 additions & 2 deletions Source/powermoduleprefs/Resources/Root.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
<string>PSGroupCell</string>
<key>label</key>
<string>Module Size</string>
<key>footerText</key>
<string>Will always be 1x1 if Prysm is installed</string>
</dict>
<dict>
<key>cell</key>
Expand Down

0 comments on commit 364b914

Please sign in to comment.