mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-18 17:46:52 +08:00
Compare commits
2 Commits
31aeab3516
...
2.0.7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b7b40c557e | ||
|
|
d0373da5ca |
@@ -248,13 +248,15 @@ class VideoDetailController extends GetxController
|
|||||||
if (width == null || height == null) {
|
if (width == null || height == null) {
|
||||||
if (isUgc && !isFileSource) {
|
if (isUgc && !isFileSource) {
|
||||||
final ugcIntroCtr = Get.find<UgcIntroController>(tag: heroTag);
|
final ugcIntroCtr = Get.find<UgcIntroController>(tag: heroTag);
|
||||||
final data = ugcIntroCtr.videoDetail.value;
|
final cid = this.cid.value;
|
||||||
if (data.cid == cid.value) {
|
final part = ugcIntroCtr.videoDetail.value.pages?.firstWhereOrNull(
|
||||||
final dimension = data.dimension!;
|
(e) => e.cid == cid,
|
||||||
|
);
|
||||||
|
if (part != null) {
|
||||||
|
final dimension = part.dimension!;
|
||||||
width = dimension.width!;
|
width = dimension.width!;
|
||||||
height = dimension.height!;
|
height = dimension.height!;
|
||||||
} else {
|
} else {
|
||||||
ugcIntroCtr.queryVideoIntro().whenComplete(_setVideoHeight);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
|||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
# update when release
|
# update when release
|
||||||
version: 2.0.6+1
|
version: 2.0.7+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.10.0"
|
sdk: ">=3.10.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user