Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(photos): remove invalid await on PersonService.init void method

Neeraj Guptaa2d181822109
diff --git a/mobile/apps/photos/ios/Podfile.lock b/mobile/apps/photos/ios/Podfile.lock
index 8896f1c714..34e498dde7 100644
--- a/mobile/apps/photos/ios/Podfile.lock
+++ b/mobile/apps/photos/ios/Podfile.lock
@@ -18,6 +18,8 @@ PODS:
- Flutter
- ente_photos_rust (0.0.1):
- Flutter
+ - ente_qr (0.0.1):
+ - Flutter
- ente_rust (0.0.1):
- Flutter
- ffmpeg_kit_custom (6.0.3)
@@ -271,6 +273,7 @@ DEPENDENCIES:
- dart_ui_isolate (from `.symlinks/plugins/dart_ui_isolate/ios`)
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
- ente_photos_rust (from `.symlinks/plugins/ente_photos_rust/ios`)
+ - ente_qr (from `.symlinks/plugins/ente_qr/ios`)
- ente_rust (from `.symlinks/plugins/ente_rust/ios`)
- ffmpeg_kit_flutter (from `.symlinks/plugins/ffmpeg_kit_flutter/ios`)
- file_saver (from `.symlinks/plugins/file_saver/ios`)
@@ -369,6 +372,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/device_info_plus/ios"
ente_photos_rust:
:path: ".symlinks/plugins/ente_photos_rust/ios"
+ ente_qr:
+ :path: ".symlinks/plugins/ente_qr/ios"
ente_rust:
:path: ".symlinks/plugins/ente_rust/ios"
ffmpeg_kit_flutter:
@@ -490,6 +495,7 @@ SPEC CHECKSUMS:
dart_ui_isolate: 46f6714abe6891313267153ef6f9748d8ecfcab1
device_info_plus: 21fcca2080fbcd348be798aa36c3e5ed849eefbe
ente_photos_rust: 79732f3ba67df7b0fb22089627afb80d692c2b2d
+ ente_qr: 2a30f91f9e938c229ebcbc98a6f8f018d1ac665d
ente_rust: 9c976e3d083f0ce90f31693deb99629b28d8fe4c
ffmpeg_kit_custom: 682b4f2f1ff1f8abae5a92f6c3540f2441d5be99
ffmpeg_kit_flutter: 915b345acc97d4142e8a9a8549d177ff10f043f5
diff --git a/mobile/apps/photos/ios/Runner.xcodeproj/project.pbxproj b/mobile/apps/photos/ios/Runner.xcodeproj/project.pbxproj
index 9fbcd71200..ca3d7ec9bc 100644
--- a/mobile/apps/photos/ios/Runner.xcodeproj/project.pbxproj
+++ b/mobile/apps/photos/ios/Runner.xcodeproj/project.pbxproj
@@ -637,6 +637,7 @@
"${BUILT_PRODUCTS_DIR}/dart_ui_isolate/dart_ui_isolate.framework",
"${BUILT_PRODUCTS_DIR}/device_info_plus/device_info_plus.framework",
"${BUILT_PRODUCTS_DIR}/ente_photos_rust/ente_photos_rust.framework",
+ "${BUILT_PRODUCTS_DIR}/ente_qr/ente_qr.framework",
"${BUILT_PRODUCTS_DIR}/ente_rust/ente_rust.framework",
"${BUILT_PRODUCTS_DIR}/file_saver/file_saver.framework",
"${BUILT_PRODUCTS_DIR}/flutter_email_sender/flutter_email_sender.framework",
@@ -739,6 +740,7 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/dart_ui_isolate.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/device_info_plus.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ente_photos_rust.framework",
+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ente_qr.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ente_rust.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/file_saver.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_email_sender.framework",
diff --git a/mobile/apps/photos/lib/main.dart b/mobile/apps/photos/lib/main.dart
index b9e7ef5dc6..bfc721666d 100644
--- a/mobile/apps/photos/lib/main.dart
+++ b/mobile/apps/photos/lib/main.dart
@@ -251,7 +251,7 @@ Future<void> _runMinimally(String taskId, TimeLogger tlog) async {
bool mlRunStarted = false;
try {
await MLService.instance.init();
- await PersonService.init(entityService, MLDataDB.instance, prefs);
+ PersonService.init(entityService, MLDataDB.instance, prefs);
mlRunStarted = true;
await MLService.instance.runAllML(force: false);
} finally {