[solver] Change stack for approximate solutions

This commit is contained in:
Émilie Feral
2018-06-04 13:38:02 +02:00
parent a2469c458f
commit 1f16ccb661
6 changed files with 8 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
#include "interval_controller.h"
#include "app.h"
#include "../i18n.h"
#include <assert.h>
#include <string.h>
@@ -49,7 +50,7 @@ IntervalController::IntervalController(Responder * parentResponder, EquationStor
}
const char * IntervalController::title() {
return I18n::translate(I18n::Message::ApproximateSolution);
return I18n::translate(I18n::Message::SearchInverval);
}
int IntervalController::numberOfRows() {
@@ -96,8 +97,7 @@ bool IntervalController::textFieldDidFinishEditing(TextField * textField, const
void IntervalController::buttonAction() {
StackViewController * stack = stackController();
App * solverApp = static_cast<App *>(app());
stack->pop();
stack->push(solverApp->solutionsControllerStack(), KDColorWhite, Palette::PurpleBright, Palette::PurpleBright);
stack->push(solverApp->solutionsControllerStack(), KDColorWhite, Palette::SubTab, Palette::SubTab);
}
I18n::Message IntervalController::okButtonText() {