fix: review changes

This commit is contained in:
Prateek Sunal
2024-08-09 02:40:03 +05:30
parent fb2c17c510
commit 10d6caa4e1

View File

@@ -46,7 +46,7 @@ Future<void> guardedCheckPanorama(EnteFile file) async {
final result = await checkIfPanorama(file);
// Update the metadata if it is not updated
if (file.isPanorama() == null && file.canEditMetaInfo) {
if (file.canEditMetaInfo && file.isPanorama() == null) {
int? mediaType = file.pubMagicMetadata?.mediaType;
mediaType ??= 0;