* opt: uuid

* tweak

* opt: SlideDialog

* mod: fvmrc [skip ci]

* Revert "mod: fvmrc [skip ci]"

This reverts commit 500fd7f454.

* Revert "opt: SlideDialog"

This reverts commit b435a312a6.

---------

Co-authored-by: dom <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2026-01-11 10:45:51 +08:00
committed by GitHub
parent 34a839d9e2
commit c40d794180
12 changed files with 66 additions and 55 deletions

View File

@@ -497,13 +497,13 @@ class PlPlayerController {
return _instance != null;
}
static void setPlayCallBack(Function? playCallBack) {
static void setPlayCallBack(VoidCallback? playCallBack) {
_playCallBack = playCallBack;
}
static Function? _playCallBack;
static VoidCallback? _playCallBack;
static void playIfExists({bool repeat = false, bool hideControls = true}) {
static void playIfExists() {
// await _instance?.play(repeat: repeat, hideControls: hideControls);
_playCallBack?.call();
}