We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1c717d commit c34feb0Copy full SHA for c34feb0
Plugin/Plugin.m
@@ -745,11 +745,11 @@ - (void) _loadInvisibleContentForWindow: (NSNotification*) notification
745
746
- (NSString*) badgeLabelText
747
{
748
- if( [ self _useHDH264Version ] )
+ if( [ self _useHDH264Version ] && [self _hasHDH264Version])
749
return NSLocalizedString( @"HD H.264", @"HD H.264 badge text" );
750
- if( [ self _useH264Version ] )
+ if( [ self _useH264Version ] && [self _hasH264Version])
751
return NSLocalizedString( @"H.264", @"H.264 badge text" );
752
- else if( [ self _hasH264Version ] )
+ else if( _fromYouTube && _videoId)
753
return NSLocalizedString( @"YouTube", @"YouTube badge text" );
754
else if( _badgeText )
755
return _badgeText;
0 commit comments