mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
Compare commits
2 Commits
b897103af0
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3dcbb10b9b | ||
|
|
62c2c081d9 |
@@ -123,8 +123,6 @@ void main() async {
|
||||
),
|
||||
);
|
||||
}
|
||||
} else if (Platform.isMacOS) {
|
||||
await setupServiceLocator();
|
||||
}
|
||||
|
||||
Request();
|
||||
|
||||
@@ -183,14 +183,13 @@ List<SettingsModel> get playSettings => [
|
||||
defaultVal: true,
|
||||
onChanged: (value) => allowRotateScreen = value,
|
||||
),
|
||||
if (PlatformUtils.isMobile)
|
||||
const SwitchModel(
|
||||
title: '后台播放',
|
||||
subtitle: '进入后台时继续播放',
|
||||
leading: Icon(Icons.motion_photos_pause_outlined),
|
||||
setKey: SettingBoxKey.continuePlayInBackground,
|
||||
defaultVal: false,
|
||||
),
|
||||
const SwitchModel(
|
||||
title: '后台播放',
|
||||
subtitle: '进入后台时继续播放',
|
||||
leading: Icon(Icons.motion_photos_pause_outlined),
|
||||
setKey: SettingBoxKey.continuePlayInBackground,
|
||||
defaultVal: false,
|
||||
),
|
||||
if (Platform.isAndroid) ...[
|
||||
SwitchModel(
|
||||
title: '后台画中画',
|
||||
|
||||
@@ -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,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
22
pubspec.lock
22
pubspec.lock
@@ -1154,13 +1154,12 @@ packages:
|
||||
source: git
|
||||
version: "1.3.7"
|
||||
media_kit_libs_ios_video:
|
||||
dependency: "direct overridden"
|
||||
dependency: transitive
|
||||
description:
|
||||
path: "libs/ios/media_kit_libs_ios_video"
|
||||
ref: dev
|
||||
resolved-ref: "547999bfb8b5cae9f9aca6125f46fd7cb500e994"
|
||||
url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
|
||||
source: git
|
||||
name: media_kit_libs_ios_video
|
||||
sha256: b5382994eb37a4564c368386c154ad70ba0cc78dacdd3fb0cd9f30db6d837991
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.1.4"
|
||||
media_kit_libs_linux:
|
||||
dependency: transitive
|
||||
@@ -1171,13 +1170,12 @@ packages:
|
||||
source: hosted
|
||||
version: "1.2.1"
|
||||
media_kit_libs_macos_video:
|
||||
dependency: "direct overridden"
|
||||
dependency: transitive
|
||||
description:
|
||||
path: "libs/macos/media_kit_libs_macos_video"
|
||||
ref: dev
|
||||
resolved-ref: "547999bfb8b5cae9f9aca6125f46fd7cb500e994"
|
||||
url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
|
||||
source: git
|
||||
name: media_kit_libs_macos_video
|
||||
sha256: f26aa1452b665df288e360393758f84b911f70ffb3878032e1aabba23aa1032d
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.1.4"
|
||||
media_kit_libs_video:
|
||||
dependency: "direct main"
|
||||
|
||||
10
pubspec.yaml
10
pubspec.yaml
@@ -281,16 +281,6 @@ dependency_overrides:
|
||||
url: https://github.com/My-Responsitories/media-kit.git
|
||||
path: libs/windows/media_kit_libs_windows_video
|
||||
ref: version_1.2.5
|
||||
media_kit_libs_ios_video:
|
||||
git:
|
||||
url: https://github.com/bggRGjQaUbCoE/media-kit.git
|
||||
path: libs/ios/media_kit_libs_ios_video
|
||||
ref: dev
|
||||
media_kit_libs_macos_video:
|
||||
git:
|
||||
url: https://github.com/bggRGjQaUbCoE/media-kit.git
|
||||
path: libs/macos/media_kit_libs_macos_video
|
||||
ref: dev
|
||||
font_awesome_flutter: 10.9.0
|
||||
|
||||
dev_dependencies:
|
||||
|
||||
Reference in New Issue
Block a user