diff --git a/source/ams_tab.cpp b/source/ams_tab.cpp index 558baee..5828c1b 100644 --- a/source/ams_tab.cpp +++ b/source/ams_tab.cpp @@ -258,8 +258,8 @@ void AmsTab_Custom::AddLinkCreator() listItem->setHeight(LISTITEM_HEIGHT); listItem->getClickEvent()->subscribe([this, category](brls::View* view) { std::string title, link; - brls::Swkbd::openForText([&title](std::string text) { title = text; }, "Enter title", "", 64, "", 0, "Submit", "Title"); - brls::Swkbd::openForText([&link](std::string text) { link = text; }, "Enter direct link", "", 64, "", 0, "Submit", "https://site/download.zip"); + brls::Swkbd::openForText([&title](std::string text) { title = text; }, "Enter title", "", 256, "", 0, "Submit", "Title"); + brls::Swkbd::openForText([&link](std::string text) { link = text; }, "Enter direct link", "", 256, "", 0, "Submit", "https://site/download.zip"); auto links = util::getValueFromKey(this->custom_packs, category); links[title] = link; this->custom_packs[category] = links; diff --git a/source/tools_tab.cpp b/source/tools_tab.cpp index 481c058..8d30de9 100644 --- a/source/tools_tab.cpp +++ b/source/tools_tab.cpp @@ -86,7 +86,7 @@ ToolsTab::ToolsTab(const std::string& tag, const nlohmann::ordered_json& payload brls::ListItem* browser = new brls::ListItem("menus/tools/browser"_i18n); browser->getClickEvent()->subscribe([](brls::View* view) { std::string url; - if (brls::Swkbd::openForText([&url](std::string text) { url = text; }, "cheatslips.com e-mail", "", 64, "https://duckduckgo.com", 0, "Submit", "https://website.tld")) { + if (brls::Swkbd::openForText([&url](std::string text) { url = text; }, "cheatslips.com e-mail", "", 256, "https://duckduckgo.com", 0, "Submit", "https://website.tld")) { std::string error = ""; int at = appletGetAppletType(); if (at == AppletType_Application) { // Running as a title