mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-07-18 18:03:02 +00:00
Remove now unnecessary switch
This commit is contained in:
parent
0148d65cab
commit
be4e0cb3dc
@ -102,24 +102,12 @@ public class VideoPlaybackResolver implements PlaybackResolver {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
switch (selectedPlayer) {
|
||||
case MAIN -> {
|
||||
videoIndex = ListHelper.getDefaultResolutionWithDefaultFormat(
|
||||
context,
|
||||
getPlaybackQuality(),
|
||||
videoStreamsList
|
||||
);
|
||||
}
|
||||
case POPUP -> {
|
||||
videoIndex = ListHelper.getDefaultResolutionWithDefaultFormat(
|
||||
context,
|
||||
getPlaybackQuality(),
|
||||
videoStreamsList
|
||||
);
|
||||
}
|
||||
}
|
||||
videoIndex = ListHelper.getDefaultResolutionWithDefaultFormat(
|
||||
context,
|
||||
getPlaybackQuality(),
|
||||
videoStreamsList
|
||||
);
|
||||
}
|
||||
|
||||
final int audioIndex =
|
||||
|
Loading…
x
Reference in New Issue
Block a user