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