Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Fix lock auth type errors

Neeraj Guptaec4d388273d5
diff --git a/mobile/apps/photos/lib/services/local_authentication_service.dart b/mobile/apps/photos/lib/services/local_authentication_service.dart
index 3fb2aaf275..7ff62ec10d 100644
--- a/mobile/apps/photos/lib/services/local_authentication_service.dart
+++ b/mobile/apps/photos/lib/services/local_authentication_service.dart
@@ -59,7 +59,7 @@ class LocalAuthenticationService {
},
),
);
- if (result) {
+ if (result == true) {
return true;
}
}
@@ -76,7 +76,7 @@ class LocalAuthenticationService {
},
),
);
- if (result) {
+ if (result == true) {
return true;
}
}