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:
parent
3db55a410d
commit
4527637080
2 changed files with 3 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue