Skip to content

Commit f452fbe

Browse files
CopilotAlexV525
andcommitted
Add clarifying comment for _isLivePhoto getter
Co-authored-by: AlexV525 <[email protected]>
1 parent 4855672 commit f452fbe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/src/widget/builder/image_page_builder.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ class _ImagePageBuilderState extends State<ImagePageBuilder> {
5252

5353
bool get _isOriginal => widget.previewThumbnailSize == null;
5454

55+
/// Whether the asset should be treated as a Live Photo.
56+
/// Checks both the global enableLivePhoto flag and the asset's isLivePhoto
57+
/// property to determine if Live Photo functionality should be active.
5558
bool get _isLivePhoto =>
5659
widget.enableLivePhoto && widget.asset.isLivePhoto;
5760

0 commit comments

Comments
 (0)