fixed native argon2

This commit is contained in:
antelle 2020-05-13 20:25:45 +02:00
parent 38e46f6d85
commit 7ae64b0552
No known key found for this signature in database
GPG Key ID: 094A2F2D6136A4EE
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ const KdbxwebInit = {
if (!global.WebAssembly) {
return Promise.reject('WebAssembly is not supported');
}
if (Features.canUseNativeModules && AppSettingsModel.nativeArgon2) {
if (AppSettingsModel.nativeArgon2) {
const ts = logger.ts();
const argon2 = Launcher.reqNative('argon2');
logger.debug('Native argon2 runtime loaded (main thread)', logger.ts(ts));