mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
[mob][photos] Prevent double ML sessions in debug iOS
This commit is contained in:
parent
1d50cdeeca
commit
5eb153a310
@ -551,7 +551,7 @@ class MLService {
|
||||
}
|
||||
|
||||
bool _cannotRunMLFunction({String function = ""}) {
|
||||
if (kDebugMode && Platform.isIOS) {
|
||||
if (kDebugMode && Platform.isIOS && !_isIndexingOrClusteringRunning) {
|
||||
return false;
|
||||
}
|
||||
if (_isIndexingOrClusteringRunning) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user