mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-11-07 10:43:48 +00:00
polish strings, fix build error
This commit is contained in:
@@ -1641,8 +1641,8 @@ public class VideoDetailFragment
|
||||
return true;
|
||||
}
|
||||
|
||||
final int errorId = exception instanceof YoutubeStreamExtractor.DecryptException
|
||||
? R.string.youtube_signature_decryption_error
|
||||
final int errorId = exception instanceof YoutubeStreamExtractor.DeobfuscateException
|
||||
? R.string.youtube_signature_deobfuscation_error
|
||||
: exception instanceof ExtractionException
|
||||
? R.string.parsing_error
|
||||
: R.string.general_error;
|
||||
|
||||
@@ -293,8 +293,8 @@ public final class ExtractorHelper {
|
||||
} else if (exception instanceof ContentNotSupportedException) {
|
||||
Toast.makeText(context, R.string.content_not_supported, Toast.LENGTH_LONG).show();
|
||||
} else {
|
||||
final int errorId = exception instanceof YoutubeStreamExtractor.DecryptException
|
||||
? R.string.youtube_signature_decryption_error
|
||||
final int errorId = exception instanceof YoutubeStreamExtractor.DeobfuscateException
|
||||
? R.string.youtube_signature_deobfuscation_error
|
||||
: exception instanceof ParsingException
|
||||
? R.string.parsing_error : R.string.general_error;
|
||||
ErrorActivity.reportError(handler, context, exception, MainActivity.class, null,
|
||||
|
||||
Reference in New Issue
Block a user