mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[apps] Use the shared language controller in the settings app
This commit is contained in:
committed by
EmilieNumworks
parent
cb097abe95
commit
bcdad4a5f9
13
apps/settings/language_controller.cpp
Normal file
13
apps/settings/language_controller.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "language_controller.h"
|
||||
|
||||
namespace Settings {
|
||||
|
||||
bool LanguageController::handleEvent(Ion::Events::Event event) {
|
||||
if (Shared::LanguageController::handleEvent(event)) {
|
||||
static_cast<StackViewController *>(parentResponder())->pop();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user