🩹 Media Change followup (#24302)

Followup to #24015
This commit is contained in:
ellensp
2022-06-07 18:59:21 +12:00
committed by GitHub
parent 9e73fd7149
commit 3e9fb34892
11 changed files with 42 additions and 35 deletions

View File

@@ -122,7 +122,7 @@ void menu_media_filelist() {
BACK_ITEM_F(TERN1(BROWSE_MEDIA_ON_INSERT, screen_history_depth) ? GET_TEXT_F(MSG_MAIN) : GET_TEXT_F(MSG_BACK));
#endif
if (card.flag.workDirIsRoot) {
#if !PIN_EXISTS(SD_DETECT)
#if !HAS_SD_DETECT
ACTION_ITEM(MSG_REFRESH, []{ encoderTopLine = 0; card.mount(); });
#endif
}