A fork of https://github.com/crosspoint-reader/crosspoint-reader
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix bug with selectin epubs inside of folders

+2 -2
+1 -1
src/main.cpp
··· 43 43 44 44 Epub* loadEpub(const std::string& path) { 45 45 if (!SD.exists(path.c_str())) { 46 - Serial.println("File does not exist"); 46 + Serial.printf("File does not exist: %s\n", path.c_str()); 47 47 return nullptr; 48 48 } 49 49
+1 -1
src/screens/FileSelectionScreen.cpp
··· 70 70 return; 71 71 } 72 72 73 + if (basepath.back() != '/') basepath += "/"; 73 74 if (files[selectorIndex].back() == '/') { 74 - if (basepath.back() != '/') basepath += "/"; 75 75 basepath += files[selectorIndex].substr(0, files[selectorIndex].length() - 1); 76 76 loadFiles(); 77 77 updateRequired = true;