mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
tweaks (#1802)
* opt: uuid * tweak * opt: SlideDialog * mod: fvmrc [skip ci] * Revert "mod: fvmrc [skip ci]" This reverts commit500fd7f454. * Revert "opt: SlideDialog" This reverts commitb435a312a6. --------- Co-authored-by: dom <githubaccount56556@proton.me>
This commit is contained in:
committed by
GitHub
parent
34a839d9e2
commit
c40d794180
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user