From 561fe231ac16370a3d104f52df4bed7800bc62ee Mon Sep 17 00:00:00 2001
From: Peter Ombodi
Date: Mon, 27 Apr 2026 18:41:55 +0300
Subject: [PATCH] docs(mobile): clarify view intent fallback asset TODO
---
mobile/lib/services/view_intent_asset_resolver.service.dart | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/mobile/lib/services/view_intent_asset_resolver.service.dart b/mobile/lib/services/view_intent_asset_resolver.service.dart
index 14e5907ee9..13d6473d87 100644
--- a/mobile/lib/services/view_intent_asset_resolver.service.dart
+++ b/mobile/lib/services/view_intent_asset_resolver.service.dart
@@ -259,7 +259,9 @@ class ViewIntentAssetResolver {
LocalAsset _toViewIntentAsset(ViewIntentPayload attachment, String? checksum) {
final now = DateTime.now();
return LocalAsset(
- // todo Temp solution, need to provide FileBackedAsset extends BaseAsset for cover this case in right way
+ // TODO(Ombodi): Introduce a file-backed BaseAsset for path-only view intents.
+ // The viewer currently expects a BaseAsset, so this temporary LocalAsset
+ // adapts an unmanaged file into the existing timeline/viewer pipeline.
id: attachment.localAssetId ?? '-${attachment.path!.hashCode.abs()}',
name: attachment.fileName,
checksum: checksum,