added download_only_mode to encryption configuration

reloading of mp3s/mp4s only happens if file manager is enabled
pull/11/head
Isaac Grynsztein 5 years ago
parent 505b145bb3
commit 77dd96b3b9

@ -16,7 +16,8 @@
},
"Extra": {
"title_top": "Youtube Downloader",
"file_manager_enabled": true
"download_only_mode": false,
"file_manager_enabled": true
}
}
}

@ -139,7 +139,9 @@ export class AppComponent implements OnInit {
}
// reloads mp3s
this.getMp3s();
if (this.fileManagerEnabled) {
this.getMp3s();
}
}
});
@ -169,7 +171,9 @@ export class AppComponent implements OnInit {
}
// reloads mp4s
this.getMp4s();
if (this.fileManagerEnabled) {
this.getMp4s();
}
}
});

Loading…
Cancel
Save