[apps] Remove dummy checks in graph/graph_controller and shared/function_graph_controller

This commit is contained in:
Ruben Dashyan
2019-05-03 10:59:15 +02:00
parent 2bb1e9416e
commit 366daa9c88
2 changed files with 3 additions and 10 deletions

View File

@@ -70,7 +70,7 @@ BannerView * GraphController::bannerView() {
void GraphController::reloadBannerView() {
FunctionGraphController::reloadBannerView();
if (functionStore()->numberOfActiveFunctions() == 0 || !m_displayDerivativeInBanner) {
if (!m_displayDerivativeInBanner) {
return;
}
Ion::Storage::Record record = functionStore()->activeRecordAtIndex(indexFunctionSelectedByCursor());