Make directories stand out more
This commit is contained in:
1 parent
49b54e1e8e
commit
7183b75a3c
1 file changed
+1
-1
@@ -238,7 +238,7 @@ void FileBrowserActivity::loop() {
|
||||
|
||||
std::string getFileName(std::string filename) {
|
||||
if (filename.back() == '/') {
|
||||
return filename.substr(0, filename.length() - 1);
|
||||
return "[" + filename.substr(0, filename.length() - 1) + "]";
|
||||
}
|
||||
const auto pos = filename.rfind('.');
|
||||
return filename.substr(0, pos);
|
||||
|
||||
Reference in new issue
Block a user