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: Show "Back" in file browser if not in root, "Home" otherwise. (#822)

## Summary

Show "Back" in file browser if not in root, "Home" otherwise.

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? YES

authored by

Jonas Diemer and committed by
GitHub
efb9b72e 4a210823

+1 -1
+1 -1
src/activities/home/MyLibraryActivity.cpp
··· 246 246 } 247 247 248 248 // Help text 249 - const auto labels = mappedInput.mapLabels("« Home", "Open", "Up", "Down"); 249 + const auto labels = mappedInput.mapLabels(basepath == "/" ? "« Home" : "« Back", "Open", "Up", "Down"); 250 250 GUI.drawButtonHints(renderer, labels.btn1, labels.btn2, labels.btn3, labels.btn4); 251 251 252 252 renderer.displayBuffer();