Fix stupid mistake

This commit is contained in:
Vishnu Mohandas 2020-04-12 04:05:45 +05:30
parent c5f9e46016
commit cd81ad9baa

View file

@ -50,7 +50,7 @@ class PhotoSyncManager {
await _insertPhotosToDB(
photos, prefs, asset.createDateTime.millisecondsSinceEpoch);
photos.clear();
bufferLimit = max(maxBufferLimit, bufferLimit * 2);
bufferLimit = min(maxBufferLimit, bufferLimit * 2);
}
}
}