fix(mobile): load original (#11786)

* fix(mobile): load original

* revert change to format
This commit is contained in:
Alex
2024-08-14 14:52:19 -05:00
committed by GitHub
parent 9e21f254cd
commit 7d888106ed
4 changed files with 17 additions and 15 deletions

View File

@@ -55,12 +55,8 @@ String getAlbumThumbNailCacheKey(
);
}
String getImageUrl(final Asset asset) {
return getImageUrlFromId(asset.remoteId!);
}
String getImageUrlFromId(final String id) {
return '${Store.get(StoreKey.serverEndpoint)}/assets/$id/thumbnail?size=preview';
String getOriginalUrlForRemoteId(final String id) {
return '${Store.get(StoreKey.serverEndpoint)}/assets/$id/original';
}
String getImageCacheKey(final Asset asset) {