fix: deep links when using the beta timeline

This commit is contained in:
bwees
2025-07-23 14:29:32 -05:00
parent f27bdf7523
commit 9ed3bbf12f
7 changed files with 211 additions and 35 deletions
@@ -24,6 +24,10 @@ class AssetService {
: _remoteAssetRepository.watchAsset(id);
}
Future<RemoteAsset?> getRemoteAsset(String id) async {
return await _remoteAssetRepository.get(id);
}
Future<List<RemoteAsset>> getStack(RemoteAsset asset) async {
if (asset.stackId == null) {
return [];
@@ -13,6 +13,10 @@ class DriftMemoryService {
return _repository.getAll(ownerId);
}
Future<DriftMemory?> get(String memoryId) {
return _repository.get(memoryId);
}
Future<int> getCount() {
return _repository.getCount();
}
@@ -22,6 +22,10 @@ class RemoteAlbumService {
return _repository.getAll();
}
Future<RemoteAlbum?> get(String albumId) {
return _repository.get(albumId);
}
List<RemoteAlbum> sortAlbums(
List<RemoteAlbum> albums,
RemoteAlbumSortMode sortMode, {