Merge pull request #10219 from osmandapp/hide_add_photo_btn

OPR hide add photo button
This commit is contained in:
vshcherb 2020-11-17 15:01:24 +01:00 committed by GitHub
commit cb8d8dae3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -336,6 +336,8 @@ public class MenuBuilder {
b.setTypeface(null, Typeface.BOLD);
b.setText(context.getResources().getString(R.string.shared_string_add_photo));
b.setBackgroundResource(R.drawable.btn_border_light);
//TODO This feature is under development
b.setVisibility(View.GONE);
b.setTextColor(ContextCompat.getColor(context, R.color.preference_category_title));
return b;
}