1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-24 18:42:05 +00:00

Fix color scheme for default procon color profile

This commit is contained in:
flb 2021-09-10 20:31:18 +02:00
parent 293e5fa94a
commit 3b982eecab
3 changed files with 4 additions and 3 deletions

View file

@ -96,6 +96,7 @@
"pro_con": { "pro_con": {
"title": "Pro-Con color swapper", "title": "Pro-Con color swapper",
"desc": "You can change the internal color of your Pro Controller. Make sure it's set to Player 1.", "desc": "You can change the internal color of your Pro Controller. Make sure it's set to Player 1.",
"warning": "Changing the grip color is currently not supported. Use Joy-Con Toolkit instead if you wish to do so.",
"label": "Pro Controller color swapper", "label": "Pro Controller color swapper",
"backing_up": "Backing up the color profile", "backing_up": "Backing up the color profile",
"all_done": "All done! You may need to turn your controller on and off for the change to take effect.", "all_done": "All done! You may need to turn your controller on and off for the change to take effect.",

View file

@ -10,7 +10,7 @@ PCPage::PCPage() : AppletFrame(true, true)
{ {
this->setTitle("menus/pro_con/title"_i18n); this->setTitle("menus/pro_con/title"_i18n);
list = new brls::List(); list = new brls::List();
std::string labelText = "menus/pro_con/desc"_i18n; std::string labelText = fmt::format("{}\n{}", "menus/pro_con/desc"_i18n, "menus/pro_con/warning"_i18n);
label = new brls::Label(brls::LabelStyle::DESCRIPTION, labelText, true); label = new brls::Label(brls::LabelStyle::DESCRIPTION, labelText, true);
list->addView(label); list->addView(label);

View file

@ -273,8 +273,8 @@ namespace PC {
json profilesJson = fs::parseJsonFile(path); json profilesJson = fs::parseJsonFile(path);
if(profilesJson.empty()){ if(profilesJson.empty()){
profilesJson = {{ profilesJson = {{
{"BTN", "2d2d2d"}, {"BTN", "e6e6e6"},
{"BODY", "e6e6e6"}, {"BODY", "2d2d2d"},
{"name", "Default black"} {"name", "Default black"}
}}; }};
} }