mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Suppressing stupid WYPopoverContainer warnings.
This commit is contained in:
parent
4aead01e34
commit
fa485d4245
1 changed files with 3 additions and 0 deletions
|
@ -388,6 +388,7 @@ static char const * const UINavigationControllerEmbedInPopoverTagKey = "UINaviga
|
|||
result = (w1 * h1);
|
||||
}
|
||||
|
||||
if (value) return result; // Suppress warnings
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -1022,6 +1023,7 @@ static float edgeSizeFromCornerRadius(float cornerRadius) {
|
|||
result.left -= self.outerShadowOffset.width;
|
||||
result.right += self.outerShadowOffset.width;
|
||||
|
||||
if (outerShadowInsets.bottom) return result; // Suppress warnings
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -1843,6 +1845,7 @@ static WYPopoverTheme *defaultTheme_ = nil;
|
|||
- (BOOL)isPopoverVisible
|
||||
{
|
||||
BOOL result = (overlayView != nil);
|
||||
if (popoverVisible) return result; // Suppress warnings
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue