[WIP] Fix settings

This commit is contained in:
Quentin Guidée
2020-02-16 12:42:08 +01:00
parent 661a48f29d
commit f1ee3d78ef
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ void CellWithSeparator::setHighlighted(bool highlight) {
}
void CellWithSeparator::drawRect(KDContext * ctx, KDRect rect) const {
ctx->fillRect(KDRect(0, Metric::CellSeparatorThickness, bounds().width(), k_margin), Palette::WallScreen);
ctx->fillRect(KDRect(0, Metric::CellSeparatorThickness, bounds().width(), k_margin), Palette::BackgroundApps);
}
int CellWithSeparator::numberOfSubviews() const {

View File

@@ -27,7 +27,7 @@ ExamModeController::ExamModeController(Responder * parentResponder) :
}
bool ExamModeController::handleEvent(Ion::Events::Event event) {
if (event == Ion::Events::OK || event == Ion::Events::EXE) {
if (event == Ion::Events::OK || event == Ion::Events::EXE || event == Ion::Events::Right) {
if (m_messageTreeModel->children(selectedRow())->label() == I18n::Message::LEDColor) {
(&m_ledController)->setMessageTreeModel(m_messageTreeModel->children(selectedRow()));
StackViewController * stack = stackController();