Change title for new profile screen
This commit is contained in:
parent
de7e62ac29
commit
a6b57c176f
1 changed files with 5 additions and 1 deletions
|
@ -156,9 +156,13 @@ public class ProfileAppearanceFragment extends BaseSettingsFragment {
|
||||||
protected void createToolbar(LayoutInflater inflater, View view) {
|
protected void createToolbar(LayoutInflater inflater, View view) {
|
||||||
super.createToolbar(inflater, view);
|
super.createToolbar(inflater, view);
|
||||||
if (isNewProfile) {
|
if (isNewProfile) {
|
||||||
|
TextView toolbarTitle = (TextView) view.findViewById(R.id.toolbar_title);
|
||||||
|
if (toolbarTitle != null) {
|
||||||
|
toolbarTitle.setText(getString(R.string.new_profile));
|
||||||
|
}
|
||||||
TextView toolbarSubtitle = (TextView) view.findViewById(R.id.toolbar_subtitle);
|
TextView toolbarSubtitle = (TextView) view.findViewById(R.id.toolbar_subtitle);
|
||||||
if (toolbarSubtitle != null) {
|
if (toolbarSubtitle != null) {
|
||||||
toolbarSubtitle.setText(getString(R.string.new_profile));
|
toolbarSubtitle.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue