Fix #2799
This commit is contained in:
parent
efdf7e262c
commit
4ffe7650f0
1 changed files with 8 additions and 2 deletions
|
@ -284,11 +284,17 @@ public class FavoritesTreeFragment extends OsmandExpandableListFragment {
|
||||||
|
|
||||||
|
|
||||||
public void showProgressBar() {
|
public void showProgressBar() {
|
||||||
getActionBarActivity().setSupportProgressBarIndeterminateVisibility(true);
|
OsmandActionBarActivity activity = getActionBarActivity();
|
||||||
|
if(activity != null) {
|
||||||
|
activity.setSupportProgressBarIndeterminateVisibility(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void hideProgressBar() {
|
public void hideProgressBar() {
|
||||||
getActionBarActivity().setSupportProgressBarIndeterminateVisibility(false);
|
OsmandActionBarActivity activity = getActionBarActivity();
|
||||||
|
if(activity != null) {
|
||||||
|
activity.setSupportProgressBarIndeterminateVisibility(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void enterMapMarkersMode() {
|
private void enterMapMarkersMode() {
|
||||||
|
|
Loading…
Reference in a new issue