mobile: show selected dive on details view

Call positionViewAtIndex in order to make the selected dive
visible.

Signed-off-by: Murillo Bernardes <mfbernardes@gmail.com>
This commit is contained in:
Murillo Bernardes 2018-05-07 23:37:49 +02:00 committed by Dirk Hohndel
parent c9cb95ba99
commit f4a9571da5

View file

@ -209,7 +209,7 @@ Kirigami.Page {
function showDiveIndex(index) {
currentIndex = index;
//diveDetailsListView.positionViewAtIndex(index, ListView.End);
diveDetailsListView.positionViewAtIndex(index, ListView.End);
}
function endEditMode() {