mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 12:10:33 +08:00
Revert "fix: macOS Media Control not activated & remove Background Play switch on desktop (#1872)"
This reverts commit 8f00ca5680.
This commit is contained in:
@@ -565,18 +565,15 @@ class HeaderControlState extends State<HeaderControl>
|
||||
);
|
||||
},
|
||||
),
|
||||
if (PlatformUtils.isMobile)
|
||||
Obx(
|
||||
() => ActionRowLineItem(
|
||||
iconData: Icons.play_circle_outline,
|
||||
onTap:
|
||||
plPlayerController.setContinuePlayInBackground,
|
||||
text: " 后台播放 ",
|
||||
selectStatus: plPlayerController
|
||||
.continuePlayInBackground
|
||||
.value,
|
||||
),
|
||||
Obx(
|
||||
() => ActionRowLineItem(
|
||||
iconData: Icons.play_circle_outline,
|
||||
onTap: plPlayerController.setContinuePlayInBackground,
|
||||
text: " 后台播放 ",
|
||||
selectStatus:
|
||||
plPlayerController.continuePlayInBackground.value,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user