FIX:change dark mode color of send page

jira:[none]

Change-Id: I21e4d76628315944f55e3df17b40208aa63fd9ec
(cherry picked from commit f66994b1bb1bc95739b1a9b8952f82d62abf0a36)
This commit is contained in:
milk 2025-10-11 17:55:20 +08:00 committed by Noisyfox
parent 223eaa5d2f
commit bf5a0c0084

View file

@ -629,16 +629,23 @@ void SendToPrinterDialog::update_storage_list(const std::vector<std::string> &st
Label *storage_text = new Label(m_storage_panel);
if (storages[i] == "emmc")
{
storage_text->SetLabel(_L("Internal Storage"));
storage_text->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#000000")));
}
else
{
storage_text->SetLabel(_L("External Storage"));
storage_text->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#000000")));
}
//radiobox->SetLabel(storages[i]);
if (storages[i] != "emmc" && m_if_has_sdcard == false)
{
storage_text->SetLabel(_L("External Storage"));
radiobox->Disable();
storage_text->SetForegroundColour(wxColour("#CECECE"));
storage_text->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#CECECE")));
}
else
{