[apps/shared] ValuesController: fix viewWillAppear, reset memoization

before reloading data
This commit is contained in:
Émilie Feral
2019-10-07 13:32:32 +02:00
committed by LeaNumworks
parent 5928a6fd80
commit abfda7dbce

View File

@@ -50,9 +50,10 @@ const char * ValuesController::title() {
}
void ValuesController::viewWillAppear() {
// Reset memoization before any call to willDisplayCellAtLocation
resetMemoization();
EditableCellTableViewController::viewWillAppear();
header()->setSelectedButton(-1);
resetMemoization();
}
void ValuesController::viewDidDisappear() {