mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Killing both remaining static linking warnings in iOS.
This commit is contained in:
parent
72dbe621a7
commit
d8a847f6f4
2 changed files with 4 additions and 3 deletions
|
@ -1204,12 +1204,12 @@ static NSOperationQueue *sharedQueue = nil;
|
|||
if (![self validatesSecureCertificate]) {
|
||||
// see: http://iphonedevelopment.blogspot.com/2010/05/nsstream-tcp-and-ssl.html
|
||||
|
||||
NSDictionary *sslProperties = [[NSDictionary alloc] initWithObjectsAndKeys:
|
||||
NSDictionary *sslProperties = [[[NSDictionary alloc] initWithObjectsAndKeys:
|
||||
[NSNumber numberWithBool:YES], kCFStreamSSLAllowsExpiredCertificates,
|
||||
[NSNumber numberWithBool:YES], kCFStreamSSLAllowsAnyRoot,
|
||||
[NSNumber numberWithBool:NO], kCFStreamSSLValidatesCertificateChain,
|
||||
kCFNull,kCFStreamSSLPeerName,
|
||||
nil];
|
||||
nil] autorelease];
|
||||
|
||||
CFReadStreamSetProperty((CFReadStreamRef)[self readStream],
|
||||
kCFStreamPropertySSLSettings,
|
||||
|
|
|
@ -409,6 +409,7 @@
|
|||
if (([(FeedDetailTableCell *)oneObject tag] == 0 && !appDelegate.isRiverView) ||
|
||||
([(FeedDetailTableCell *)oneObject tag] == 1 && appDelegate.isRiverView)) {
|
||||
cell = (FeedDetailTableCell *)oneObject;
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -445,7 +446,7 @@
|
|||
}
|
||||
|
||||
// River view
|
||||
if (appDelegate.isRiverView) {
|
||||
if (appDelegate.isRiverView && cell) {
|
||||
UIView *gradientView = [appDelegate makeFeedTitleGradient:feed
|
||||
withRect:CGRectMake(0, 0, cell.frame.size.width, 20)];
|
||||
[cell.feedGradient addSubview:gradientView];
|
||||
|
|
Loading…
Add table
Reference in a new issue