From 3a8fa1013b95678a2cbf9be08a97f17685e7ef01 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 7 Dec 2020 13:49:18 +0200 Subject: [PATCH] Show upload photo button only for developer version --- OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java index 503e52ecf0..3a34e262fc 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java @@ -412,7 +412,7 @@ public class MenuBuilder { } }); //TODO This feature is under development - if (!OsmandPlugin.isDevelopment()) { + if (!Version.isDeveloperVersion(app)) { view.setVisibility(View.GONE); } photoButton = view;