Update computer pkg
This commit is contained in:
parent
2948951e53
commit
453a44cb82
|
@ -24,7 +24,7 @@ import 'package:tuple/tuple.dart';
|
||||||
class LocalSyncService {
|
class LocalSyncService {
|
||||||
final _logger = Logger("LocalSyncService");
|
final _logger = Logger("LocalSyncService");
|
||||||
final _db = FilesDB.instance;
|
final _db = FilesDB.instance;
|
||||||
final Computer _computer = Computer();
|
final Computer _computer = Computer.shared();
|
||||||
late SharedPreferences _prefs;
|
late SharedPreferences _prefs;
|
||||||
Completer<void>? _existingSync;
|
Completer<void>? _existingSync;
|
||||||
|
|
||||||
|
|
|
@ -166,7 +166,7 @@ Uint8List chachaDecryptData(Map<String, dynamic> args) {
|
||||||
}
|
}
|
||||||
|
|
||||||
class CryptoUtil {
|
class CryptoUtil {
|
||||||
static final Computer _computer = Computer();
|
static final Computer _computer = Computer.shared();
|
||||||
|
|
||||||
static init() {
|
static init() {
|
||||||
_computer.turnOn(workersCount: 4);
|
_computer.turnOn(workersCount: 4);
|
||||||
|
|
|
@ -276,10 +276,10 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: computer
|
name: computer
|
||||||
sha256: "3df9f1ef497aaf69e066b00f4441726eb28037dc33e97b5d56393967f92c5fe8"
|
sha256: "34176c612a02ebf3e5eaa3e9b40e2b1df495043c46614999639d19e66823232d"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.0"
|
version: "3.2.1"
|
||||||
confetti:
|
confetti:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -28,7 +28,7 @@ dependencies:
|
||||||
chewie:
|
chewie:
|
||||||
path: thirdparty/chewie
|
path: thirdparty/chewie
|
||||||
collection: # dart
|
collection: # dart
|
||||||
computer: ^2.0.0
|
computer: ^3.2.1
|
||||||
confetti: ^0.6.0
|
confetti: ^0.6.0
|
||||||
connectivity_plus: ^3.0.3
|
connectivity_plus: ^3.0.3
|
||||||
crypto: ^3.0.2
|
crypto: ^3.0.2
|
||||||
|
|
Loading…
Reference in a new issue