forked from lint/TFDidThatSay
		
	Fix post crash in Reddit 4.44.0
This commit is contained in:
		
							
								
								
									
										2
									
								
								control
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								control
									
									
									
									
									
								
							@ -1,7 +1,7 @@
 | 
				
			|||||||
Package: com.lint.undelete
 | 
					Package: com.lint.undelete
 | 
				
			||||||
Name: TFDidThatSay?
 | 
					Name: TFDidThatSay?
 | 
				
			||||||
Depends: mobilesubstrate
 | 
					Depends: mobilesubstrate
 | 
				
			||||||
Version: 1.2.0
 | 
					Version: 1.2.1
 | 
				
			||||||
Architecture: iphoneos-arm
 | 
					Architecture: iphoneos-arm
 | 
				
			||||||
Description: See "[deleted]" comments and posts without leaving Reddit!
 | 
					Description: See "[deleted]" comments and posts without leaving Reddit!
 | 
				
			||||||
Maintainer: lint <apieceoflint@protonmail.com>
 | 
					Maintainer: lint <apieceoflint@protonmail.com>
 | 
				
			||||||
 | 
				
			|||||||
@ -71,12 +71,17 @@
 | 
				
			|||||||
@interface FeedPostDetailCellNode
 | 
					@interface FeedPostDetailCellNode
 | 
				
			||||||
@property(assign,nonatomic) id textNode;
 | 
					@property(assign,nonatomic) id textNode;
 | 
				
			||||||
@property(assign,nonatomic) id delegate;
 | 
					@property(assign,nonatomic) id delegate;
 | 
				
			||||||
 | 
					@property(assign,nonatomic) id contentNode;
 | 
				
			||||||
@end
 | 
					@end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@interface FeedPostDetailDelegator
 | 
					@interface FeedPostDetailDelegator
 | 
				
			||||||
@property(assign,nonatomic) id viewController;
 | 
					@property(assign,nonatomic) id viewController;
 | 
				
			||||||
@end
 | 
					@end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@interface FeedPostContentNode
 | 
				
			||||||
 | 
					-(void) configureSelfTextNode;
 | 
				
			||||||
 | 
					@end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -- Other Interfaces -- */
 | 
					/* -- Other Interfaces -- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -228,8 +228,11 @@
 | 
				
			|||||||
				[post setAuthor:author];
 | 
									[post setAuthor:author];
 | 
				
			||||||
				[post setValue:body forKey:@"selfText"];
 | 
									[post setValue:body forKey:@"selfText"];
 | 
				
			||||||
				
 | 
									
 | 
				
			||||||
			
 | 
									if ([[[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"] componentsSeparatedByString:@"."][1] integerValue] >= 44){
 | 
				
			||||||
				[[[[self postActionSheetDelegate] controller] feedPostDetailCellNode] configureSelfTextNode];
 | 
										[[[[[self postActionSheetDelegate] controller] feedPostDetailCellNode] contentNode] configureSelfTextNode];
 | 
				
			||||||
 | 
									} else {
 | 
				
			||||||
 | 
										[[[[self postActionSheetDelegate] controller] feedPostDetailCellNode] configureSelfTextNode];
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
							
 | 
												
 | 
				
			||||||
				[request release];
 | 
									[request release];
 | 
				
			||||||
				[queue release];
 | 
									[queue release];
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user