mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: image preview
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -162,7 +162,7 @@ Widget imageview(
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (picArr[index].liveUrl?.isNotEmpty == true)
|
if (picArr[index].isLivePhoto)
|
||||||
const PBadge(
|
const PBadge(
|
||||||
text: 'Live',
|
text: 'Live',
|
||||||
right: 8,
|
right: 8,
|
||||||
|
|||||||
@@ -468,8 +468,14 @@ class _InteractiveviewerGalleryState extends State<InteractiveviewerGallery>
|
|||||||
// });
|
// });
|
||||||
// },
|
// },
|
||||||
),
|
),
|
||||||
SourceType.livePhoto =>
|
SourceType.livePhoto => Obx(() => currentIndex.value == index
|
||||||
IgnorePointer(child: Video(controller: _videoController!)),
|
? IgnorePointer(
|
||||||
|
child: Video(
|
||||||
|
controller: _videoController!,
|
||||||
|
fill: Colors.transparent,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
: const SizedBox.shrink()),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user