diff options
-rw-r--r-- | MobileCydia.mm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 9ee0bd0..233d2ef 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -9870,11 +9870,7 @@ int main(int argc, char *argv[]) { _pooled else ScreenScale_ = 1; - NSMutableArray *parts([NSMutableArray arrayWithCapacity:2]); - if (ScreenScale_ > 1) - [parts addObject:@"@2x"]; - [parts addObject:(IsWildcat_ ? @"~ipad" : @"~iphone")]; - UI_ = CydiaURL([NSString stringWithFormat:@"ui/ios%@", [parts componentsJoinedByString:@""]]); + UI_ = CydiaURL([NSString stringWithFormat:@"ui/ios%@", (IsWildcat_ ? @"~ipad" : @"~iphone")]); PackageName = reinterpret_cast<CYString &(*)(Package *, SEL)>(method_getImplementation(class_getInstanceMethod([Package class], @selector(cyname)))); |