mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
fix(mobile): setting to always display remote assets (#3044)
This commit is contained in:
committed by
GitHub
parent
5869648f19
commit
615893be38
@@ -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!,
|
||||
|
||||
Reference in New Issue
Block a user