Show upload photo button only for developer version

This commit is contained in:
Vitaliy 2020-12-07 13:49:18 +02:00
parent 7636630f6d
commit 3a8fa1013b

View file

@ -412,7 +412,7 @@ public class MenuBuilder {
} }
}); });
//TODO This feature is under development //TODO This feature is under development
if (!OsmandPlugin.isDevelopment()) { if (!Version.isDeveloperVersion(app)) {
view.setVisibility(View.GONE); view.setVisibility(View.GONE);
} }
photoButton = view; photoButton = view;