1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2025-01-01 12:16:02 +00:00

added back button on comfirm page

This commit is contained in:
flb 2021-02-27 17:11:56 +01:00
parent 3db55a410d
commit 4527637080
2 changed files with 3 additions and 2 deletions

View file

@ -22,7 +22,7 @@ DATA := data
INCLUDES := include lib/zipper/include
APP_TITLE := All-in-One Switch Updater
APP_AUTHOR := HamletDuFromage
APP_VERSION := 2.3.5
APP_VERSION := 2.3.4
TARGET := $(notdir $(CURDIR))
ROMFS := resources

View file

@ -26,7 +26,8 @@ ConfirmPage::ConfirmPage(brls::StagedAppletFrame* frame, std::string text, bool
this->label->setHorizontalAlign(NVG_ALIGN_CENTER);
this->label->setParent(this);
this->registerAction("", brls::Key::B, [this] { return true; });
if(this->done)
this->registerAction("", brls::Key::B, [this] { return true; });
}
void ConfirmPage::draw(NVGcontext* vg, int x, int y, unsigned width, unsigned height, brls::Style* style, brls::FrameContext* ctx)