Update MenuBuilder.java

This commit is contained in:
vshcherb 2020-11-27 15:58:03 +01:00 committed by GitHub
parent ca12d4014d
commit e4d748be44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -407,7 +407,9 @@ public class MenuBuilder {
}
});
//TODO This feature is under development
view.setVisibility(View.GONE);
if (!OsmandPlugin.isDevelopment()) {
view.setVisibility(View.GONE);
}
photoButton = view;
return view;
}
@ -1220,4 +1222,4 @@ public class MenuBuilder {
public static <P> void execute(AsyncTask<P, ?, ?> task, P... requests) {
task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, requests);
}
}
}