diff --git a/AppDelegate.m b/AppDelegate.m index f295164c..5fef4895 100644 --- a/AppDelegate.m +++ b/AppDelegate.m @@ -521,7 +521,7 @@ -(void)showAnimeInfo:(NSDictionary *)d{ [animeinfo setString:@""]; //Title [self appendToAnimeInfo:[NSString stringWithFormat:@"%@", [d objectForKey:@"title"]]]; - if ([d objectForKey:@"alternate_title"] !=[NSNull null]) { + if ([[NSString stringWithFormat:@"%@",[d objectForKey:@"alternate_title"]] length] >0) { [self appendToAnimeInfo:[NSString stringWithFormat:@"Also known as %@", [d objectForKey:@"alternate_title"]]]; } [self appendToAnimeInfo:@""]; diff --git a/Hachidori.xcodeproj/project.xcworkspace/xcuserdata/takamachinanoha.xcuserdatad/UserInterfaceState.xcuserstate b/Hachidori.xcodeproj/project.xcworkspace/xcuserdata/takamachinanoha.xcuserdatad/UserInterfaceState.xcuserstate index ea110d5b..d19f8e27 100644 Binary files a/Hachidori.xcodeproj/project.xcworkspace/xcuserdata/takamachinanoha.xcuserdatad/UserInterfaceState.xcuserstate and b/Hachidori.xcodeproj/project.xcworkspace/xcuserdata/takamachinanoha.xcuserdatad/UserInterfaceState.xcuserstate differ