fix(mobile): deeplinking to asset view while viewer is already open (#19812)

* initial attempt at new guard

* do not resolve the route when replaced

* Update gallery_guard.dart comment

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
Brandon Wees
2025-07-08 10:50:59 -05:00
committed by GitHub
parent a556de67b0
commit d03eb87058
3 changed files with 35 additions and 2 deletions
@@ -106,7 +106,6 @@ class DeepLinkService {
Future<PageRouteInfo?> _buildAssetDeepLink(String assetId) async {
final asset = await _assetService.getAssetByRemoteId(assetId);
if (asset == null) {
return null;
}