Skip to content

Commit

Permalink
disabled Decrypt file support in the ui (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
eadmaster committed Aug 20, 2024
1 parent 62ea129 commit c17278f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/sd_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,8 @@ String loopSD(FS &fs, bool filePicker, String allowed_ext) {
//Kb.write((const uint8_t*) t.c_str(), t.length());
}});*/
}
#endif
/* WIP
if(filepath.endsWith(".aes") || filepath.endsWith(".enc")) { // aes encrypted files
options.insert(options.begin(), {"Decrypt+Type", [&]() {
String plaintext = readDecryptedAesFile(fs, filepath);
Expand All @@ -684,7 +686,7 @@ String loopSD(FS &fs, bool filePicker, String allowed_ext) {
delay(2000);
// TODO: loop and wait for user input?
}});
}
}*/
#if defined(HAS_NS4168_SPKR)
if(isAudioFile(filepath)) options.insert(options.begin(), {"Play Audio", [&]() {
delay(200);
Expand Down

0 comments on commit c17278f

Please sign in to comment.