encryption converted to module

This commit is contained in:
azivner
2017-11-04 18:18:55 -04:00
parent b44c685f23
commit e7f0187b29
9 changed files with 428 additions and 396 deletions

View File

@@ -40,7 +40,7 @@ function getFullName(noteId) {
const path = [];
while (note) {
if (note.data.encryption > 0 && !isEncryptionAvailable()) {
if (note.data.encryption > 0 && !encryption.isEncryptionAvailable()) {
path.push("[encrypted]");
}
else {