mirror of
https://github.com/ethauvin/android-about-box.git
synced 2025-04-24 18:27:11 -07:00
Do not display config.aboutLabelTitle if empty.
This commit is contained in:
parent
337b7dafb3
commit
5f556fe8ce
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ public class AboutActivity extends MaterialAboutActivity {
|
|||
}
|
||||
}));
|
||||
}
|
||||
if (!TextUtils.isEmpty(config.companyHtmlPath)) {
|
||||
if (!TextUtils.isEmpty(config.companyHtmlPath) && !TextUtils.isEmpty(config.aboutLabelTitle)) {
|
||||
card.addItem(new MaterialAboutActionItem.Builder()
|
||||
.text(config.aboutLabelTitle)
|
||||
.icon(R.drawable.ic_about_black)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue