mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
Compare commits
1 Commits
db30aa8041
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62c2c081d9 |
@@ -123,8 +123,6 @@ void main() async {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else if (Platform.isMacOS) {
|
|
||||||
await setupServiceLocator();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Request();
|
Request();
|
||||||
|
|||||||
@@ -183,7 +183,6 @@ List<SettingsModel> get playSettings => [
|
|||||||
defaultVal: true,
|
defaultVal: true,
|
||||||
onChanged: (value) => allowRotateScreen = value,
|
onChanged: (value) => allowRotateScreen = value,
|
||||||
),
|
),
|
||||||
if (PlatformUtils.isMobile)
|
|
||||||
const SwitchModel(
|
const SwitchModel(
|
||||||
title: '后台播放',
|
title: '后台播放',
|
||||||
subtitle: '进入后台时继续播放',
|
subtitle: '进入后台时继续播放',
|
||||||
|
|||||||
@@ -565,16 +565,13 @@ class HeaderControlState extends State<HeaderControl>
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
if (PlatformUtils.isMobile)
|
|
||||||
Obx(
|
Obx(
|
||||||
() => ActionRowLineItem(
|
() => ActionRowLineItem(
|
||||||
iconData: Icons.play_circle_outline,
|
iconData: Icons.play_circle_outline,
|
||||||
onTap:
|
onTap: plPlayerController.setContinuePlayInBackground,
|
||||||
plPlayerController.setContinuePlayInBackground,
|
|
||||||
text: " 后台播放 ",
|
text: " 后台播放 ",
|
||||||
selectStatus: plPlayerController
|
selectStatus:
|
||||||
.continuePlayInBackground
|
plPlayerController.continuePlayInBackground.value,
|
||||||
.value,
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user