Fixed bug when after deleting something in localindex - adapter was recreated and all open categories was closed
This commit is contained in:
parent
5073e82918
commit
d06e883dd1
1 changed files with 4 additions and 3 deletions
|
@ -388,9 +388,10 @@ public class LocalIndexesFragment extends OsmandExpandableListFragment {
|
|||
protected void onPostExecute(String result) {
|
||||
getDownloadActivity().setProgressBarIndeterminateVisibility(false);
|
||||
AccessibleToast.makeText(getDownloadActivity(), result, Toast.LENGTH_LONG).show();
|
||||
listAdapter.clear();
|
||||
reloadIndexes();
|
||||
|
||||
if (operation == RESTORE_OPERATION){
|
||||
listAdapter.clear();
|
||||
reloadIndexes();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue