mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-08 12:04:50 +08:00
add pip backward/forward btns
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -189,7 +189,12 @@ abstract final class PageUtils {
|
||||
return (min <= aspectRatio) && (aspectRatio <= max);
|
||||
}
|
||||
|
||||
static void enterPip({int? width, int? height}) {
|
||||
static void enterPip({
|
||||
int? width,
|
||||
int? height,
|
||||
required bool isLive,
|
||||
required bool isPlaying,
|
||||
}) {
|
||||
if (width != null &&
|
||||
height != null &&
|
||||
!_fitsInAndroidRequirements(width, height)) {
|
||||
@@ -205,6 +210,8 @@ abstract final class PageUtils {
|
||||
PlatformDispatcher.instance.engineId!,
|
||||
width ?? 16,
|
||||
height ?? 9,
|
||||
isLive,
|
||||
isPlaying,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user