Skip to content

Commit

Permalink
This is what happens when you release code at 2am.
Browse files Browse the repository at this point in the history
- Renamed displayIdentifier to displayName to stop crashing on iOS 7.
  • Loading branch information
ryanb93 committed Nov 13, 2014
1 parent fe8f37d commit 5f15c61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CyDelete.xm
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ static void removeBundleFromMIList(NSString *bundle) {
package = [iconPackagesDict objectForKey:[application bundleIdentifier]];
}
else {
package = [iconPackagesDict objectForKey:[application displayIdentifer]];
package = [iconPackagesDict objectForKey:[application displayName]];
}

// We were called with an application that doesn't have an entry in the packages list.
Expand Down Expand Up @@ -296,7 +296,7 @@ static void uninstallClickedForIcon(SBIcon *self) {
bundle = [app bundleIdentifier];
}
else {
bundle = [app displayIdentifer];
bundle = [app displayName];
}

//If iconPackagesDict does not contain this current application's bundle ID.
Expand Down Expand Up @@ -332,7 +332,7 @@ static void uninstallClickedForIcon(SBIcon *self) {
bundle = [[self application] bundleIdentifier];
}
else {
bundle = [[self application] displayIdentifer];
bundle = [[self application] displayName];
}
//If the application is an Apple application.
bool isApple = ([bundle hasPrefix:@"com.apple."] && ![bundle hasPrefix:@"com.apple.samplecode."]);
Expand Down Expand Up @@ -392,7 +392,7 @@ static void uninstallClickedForIcon(SBIcon *self) {
bundle = [[self application] bundleIdentifier];
}
else {
bundle = [[self application] displayIdentifer];
bundle = [[self application] displayName];
}

id package = [iconPackagesDict objectForKey:bundle];
Expand Down

0 comments on commit 5f15c61

Please sign in to comment.