Update customization
This commit is contained in:
parent
c6cbb65695
commit
099959b7fe
1 changed files with 2 additions and 2 deletions
|
@ -402,7 +402,7 @@ public class SherpafyCustomization extends OsmAndAppCustomization {
|
|||
}
|
||||
|
||||
public static class FavoriteDialogFragment extends DialogFragment {
|
||||
|
||||
|
||||
@Override
|
||||
public Dialog onCreateDialog(Bundle savedInstanceState) {
|
||||
Bundle args = getArguments();
|
||||
|
@ -432,7 +432,7 @@ public class SherpafyCustomization extends OsmAndAppCustomization {
|
|||
R.string.menu_mute_on, R.string.menu_mute_off,
|
||||
R.string.where_am_i);
|
||||
final StageInformation stage = getSelectedStage();
|
||||
if (stage != null) {
|
||||
if (stage != null && !isStageVisited(stage.order)) {
|
||||
adapter.item(R.string.complete_stage)
|
||||
.icons(R.drawable.ic_action_flage_dark, R.drawable.ic_action_flage_light)
|
||||
.position(adapter.length() - 1).listen(new OnContextMenuClick() {
|
||||
|
|
Loading…
Reference in a new issue