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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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) {