[apps] Define TextFieldDelegate::textFieldDelegateApp() directly from ::app()

This commit is contained in:
Ruben Dashyan
2019-06-06 17:50:31 +02:00
committed by EmilieNumworks
parent 5058f64163
commit 055d601854
27 changed files with 11 additions and 63 deletions

View File

@@ -1,7 +1,6 @@
#include "float_parameter_controller.h"
#include "../constant.h"
#include "../shared/poincare_helpers.h"
#include "text_field_delegate_app.h"
#include <assert.h>
#include <cmath>
@@ -138,10 +137,6 @@ bool FloatParameterController::textFieldDidFinishEditing(TextField * textField,
return true;
}
TextFieldDelegateApp * FloatParameterController::textFieldDelegateApp() {
return (TextFieldDelegateApp *)app();
}
int FloatParameterController::activeCell() {
return selectedRow();
}