File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -343,8 +343,7 @@ protected void onSuccess() {
343343 return ;
344344 }
345345
346- final List <StreamingService .ServiceInfo .MediaCapability > capabilities =
347- currentService .getServiceInfo ().getMediaCapabilities ();
346+ final var capabilities = currentService .getServiceInfo ().getMediaCapabilities ();
348347
349348 // Check if the service supports the choice
350349 if ((isVideoPlayerSelected && capabilities .contains (VIDEO ))
@@ -528,8 +527,7 @@ private List<AdapterChoiceItem> getChoicesForService(final StreamingService serv
528527 final List <AdapterChoiceItem > returnedItems = new ArrayList <>();
529528 returnedItems .add (showInfo ); // Always present
530529
531- final List <StreamingService .ServiceInfo .MediaCapability > capabilities =
532- service .getServiceInfo ().getMediaCapabilities ();
530+ final var capabilities = service .getServiceInfo ().getMediaCapabilities ();
533531
534532 if (linkType == LinkType .STREAM || linkType == LinkType .PLAYLIST ) {
535533 if (capabilities .contains (VIDEO )) {
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ teamnewpipe-nanojson = "e9d656ddb49a412a5a0a5d5ef20ca7ef09549996"
5959# the corresponding commit hash, since JitPack sometimes deletes artifacts.
6060# If there’s already a git hash, just add more of it to the end (or remove a letter)
6161# to cause jitpack to regenerate the artifact.
62- teamnewpipe-newpipe-extractor = " v0.25.2 "
62+ teamnewpipe-newpipe-extractor = " 824486dfdf4e9ba0fbe820bc2938f9101ae739a6 "
6363viewpager2 = " 1.1.0"
6464webkit = " 1.14.0" # Newer versions require minSdk >= 23
6565work = " 2.10.5" # Newer versions require minSdk >= 23
You can’t perform that action at this time.
0 commit comments