fix(mobile): setting to always display remote assets ()

This commit is contained in:
Fynn Petersen-Frey 2023-07-01 03:47:44 +02:00 committed by GitHub
commit 615893be38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 26 additions and 6 deletions
mobile/lib/shared/ui

View file

@ -43,7 +43,8 @@ class ImmichImage extends StatelessWidget {
);
}
final Asset asset = this.asset!;
if (asset.isLocal) {
if (!asset.isRemote ||
(asset.isLocal && !Store.get(StoreKey.preferRemoteImage, false))) {
return Image(
image: AssetEntityImageProvider(
asset.local!,