mirror of
https://github.com/ethauvin/android-about-box.git
synced 2025-04-25 02:37: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()
|
card.addItem(new MaterialAboutActionItem.Builder()
|
||||||
.text(config.aboutLabelTitle)
|
.text(config.aboutLabelTitle)
|
||||||
.icon(R.drawable.ic_about_black)
|
.icon(R.drawable.ic_about_black)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue