1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-25 02:52:05 +00:00

fixed empty file not creating

This commit is contained in:
flb 2021-03-19 17:56:10 +01:00
parent 87da38ba9e
commit 56347cbd93

View file

@ -11,7 +11,7 @@ using namespace i18n::literals;
WarningPage::WarningPage(std::string text)
{
fs::createTree(CONFIG_PATH);
std::ofstream(HIDDEN_AIO_FILE);
std::ofstream hiddenFile(HIDDEN_AIO_FILE);
this->button = (new brls::Button(brls::ButtonStyle::PRIMARY))->setLabel("menus/common/continue"_i18n);
this->button->setParent(this);
this->button->getClickEvent()->subscribe([this](View* view) {