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": {
"title": "Pro-Con color swapper",
"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",
"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.",

View file

@ -10,7 +10,7 @@ PCPage::PCPage() : AppletFrame(true, true)
{
this->setTitle("menus/pro_con/title"_i18n);
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);
list->addView(label);

View file

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