Update libs.

This commit is contained in:
J-D-K 2025-09-08 21:02:41 -04:00
parent 8b72f08dcc
commit fa5a5e3c19
7 changed files with 12 additions and 6 deletions

@ -1 +1 @@
Subproject commit 4fb3633139d4b259d63a2257ff7945b7ac542a5b
Subproject commit 995054e0d28ca9d4bf5134b10493ecebb51a7ab9

@ -1 +1 @@
Subproject commit 779fc5bd8aa4782e376fbce3baa146837f7d4825
Subproject commit 726c56c1a2ed4065c2efaaf2a283aa3c7af75cb7

View File

@ -14,6 +14,7 @@
#include "mathutil.hpp"
#include "strings/strings.hpp"
#include "stringutil.hpp"
#include "sys/OpTimer.hpp"
#include "tasks/fileoptions.hpp"
#include <ctime>
@ -360,6 +361,7 @@ void FileOptionState::get_show_directory_properties(const fslib::Path &path)
int64_t subDirCount{};
int64_t fileCount{};
int64_t totalSize{};
const bool getInfo = fs::get_directory_information(path, subDirCount, fileCount, totalSize);
if (!getInfo) { return; }

View File

@ -180,7 +180,7 @@ void SettingsState::change_working_directory()
}
const std::string newPathString = newPath.string();
const std::string popMessage = stringutil::get_formatted_string(popSuccessFormat, newPathString);
const std::string popMessage = stringutil::get_formatted_string(popSuccessFormat, newPathString.c_str());
ui::PopMessageManager::push_message(popTicks, popMessage);
}

View File

@ -38,7 +38,11 @@ void TitleSelectState::update()
if (aPressed) { TitleSelectState::create_backup_menu(); }
else if (xPressed) { TitleSelectState::create_title_option_menu(); }
else if (yPressed) { TitleSelectState::add_remove_favorite(); }
else if (bPressed) { TitleSelectState::deactivate_state(); }
else if (bPressed)
{
TitleSelectState::deactivate_state();
return;
}
m_titleView->update(hasFocus);
}

View File

@ -201,7 +201,7 @@ void fs::copy_zip_to_directory(fs::MiniUnzip &unzip, const fslib::Path &dest, in
if (task)
{
const std::string status = stringutil::get_formatted_string(statusTemplate, unzip.get_filename());
const std::string status = stringutil::get_formatted_string(statusTemplate, fullDest.get_filename());
task->set_status(status);
task->reset(static_cast<double>(fileSize));
}

View File

@ -22,7 +22,7 @@ ui::TitleView::TitleView(data::User *user)
void ui::TitleView::update(bool hasFocus)
{
if (m_titleTiles.empty()) { return; }
if (m_titleTiles.empty() || !hasFocus) { return; }
m_bounding->update(hasFocus);
TitleView::handle_input();