Resolve #303 isString() error

This commit is contained in:
the-djmaze 2022-03-24 13:23:52 +01:00
parent 049350b112
commit 99ffb986f1
2 changed files with 31 additions and 31 deletions

View file

@ -1,5 +1,5 @@
import { SettingsCapa, SettingsGet } from 'Common/Globals';
import { staticLink } from 'Common/Links';
//import { staticLink } from 'Common/Links';
//import { showScreenPopup } from 'Knoin/Knoin';
@ -22,7 +22,8 @@ export const
init() {
if (SettingsCapa('OpenPGP') && window.crypto && crypto.getRandomValues) {
rl.loadScript(staticLink('js/min/openpgp.min.js'))
rl.loadScript(SettingsGet('StaticLibsJs').replace('/libs.', '/openpgp.'))
// rl.loadScript(staticLink('js/min/openpgp.min.js'))
.then(() => this.loadKeyrings())
.catch(e => {
this.loadKeyrings();