fix filebrowser mount name not being displayed as the current option if translations are enabled

This commit is contained in:
ITotalJustice
2025-06-17 11:00:56 +01:00
parent d7ec620173
commit c5e3373fe1

View File

@@ -1778,7 +1778,7 @@ void FsView::DisplayAdvancedOptions() {
options->Add(std::make_shared<SidebarEntryArray>("Mount"_i18n, mount_items, [this, fs_entries](s64& index_out){ options->Add(std::make_shared<SidebarEntryArray>("Mount"_i18n, mount_items, [this, fs_entries](s64& index_out){
App::PopToMenu(); App::PopToMenu();
SetFs(fs_entries[index_out].root, fs_entries[index_out]); SetFs(fs_entries[index_out].root, fs_entries[index_out]);
}, m_fs_entry.name)); }, i18n::get(m_fs_entry.name)));
options->Add(std::make_shared<SidebarEntryCallback>("Create File"_i18n, [this](){ options->Add(std::make_shared<SidebarEntryCallback>("Create File"_i18n, [this](){
std::string out; std::string out;