mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[apps/settings] Open hardware test with 6, t or T events
Change-Id: Id4446d7cc090578b42abe94069b5bc1e4d7f5037
This commit is contained in:
@@ -58,7 +58,7 @@ void SubController::didEnterResponderChain(Responder * previousResponder) {
|
||||
bool SubController::handleEvent(Ion::Events::Event event) {
|
||||
/* We hide here the activation hardware test app: in the menu "about", by
|
||||
* clicking on '6' on the serial number row. */
|
||||
if (event == Ion::Events::Six && m_nodeModel->label() == I18n::Message::About && selectedRow() == 1) {
|
||||
if ((event == Ion::Events::Six || event == Ion::Events::LowerT || event == Ion::Events::UpperT) && m_nodeModel->label() == I18n::Message::About && selectedRow() == 1) {
|
||||
AppsContainer * appsContainer = (AppsContainer *)app()->container();
|
||||
appsContainer->switchTo(appsContainer->hardwareTestAppSnapshot());
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user