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:
parent
87da38ba9e
commit
56347cbd93
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ using namespace i18n::literals;
|
||||||
WarningPage::WarningPage(std::string text)
|
WarningPage::WarningPage(std::string text)
|
||||||
{
|
{
|
||||||
fs::createTree(CONFIG_PATH);
|
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 = (new brls::Button(brls::ButtonStyle::PRIMARY))->setLabel("menus/common/continue"_i18n);
|
||||||
this->button->setParent(this);
|
this->button->setParent(this);
|
||||||
this->button->getClickEvent()->subscribe([this](View* view) {
|
this->button->getClickEvent()->subscribe([this](View* view) {
|
||||||
|
|
Loading…
Reference in a new issue