mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
[apps/settings] Fixed compilation error
Co-Authored-By: Quentin <quentin.guidee@gmail.com>
This commit is contained in:
@@ -27,7 +27,7 @@ void ExamModeController::didEnterResponderChain(Responder * previousFirstRespond
|
||||
bool ExamModeController::handleEvent(Ion::Events::Event event) {
|
||||
I18n::Message childLabel = m_messageTreeModel->children(selectedRow())->label();
|
||||
if (event == Ion::Events::OK || event == Ion::Events::EXE || event == Ion::Events::Right) {
|
||||
if (GlobalPreferences::sharedGlobalPreferences()->examMode() == GlobalPreferences::ExamMode::Activate) {
|
||||
if (GlobalPreferences::sharedGlobalPreferences()->examMode()) {
|
||||
return true;
|
||||
}
|
||||
if (childLabel == I18n::Message::ActivateExamMode || childLabel == I18n::Message::ExamModeActive) {
|
||||
|
||||
Reference in New Issue
Block a user