[mob][photos] Force run on ML page

This commit is contained in:
laurenspriem 2024-06-26 23:11:23 +05:30
parent ca7096b87c
commit 2c9b0e77ba

View File

@ -164,8 +164,11 @@ class FaceMlService {
_isSyncing = false;
}
Future<void> runAllFaceML() async {
if (_cannotRunMLFunction()) return;
Future<void> runAllFaceML({bool force = false}) async {
if (force) {
_mlControllerStatus = true;
}
if (_cannotRunMLFunction() && !force) return;
await sync(forceSync: _shouldSyncPeople);