mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Fix: Action bar does not show if only titleView is set
This commit is contained in:
@ -152,6 +152,7 @@ export class ActionBar extends view.View implements dts.ActionBar {
|
|||||||
|
|
||||||
public _isEmpty(): boolean {
|
public _isEmpty(): boolean {
|
||||||
if (this.title ||
|
if (this.title ||
|
||||||
|
this.titleView ||
|
||||||
(this.android && this.android.icon) ||
|
(this.android && this.android.icon) ||
|
||||||
this.navigationButton ||
|
this.navigationButton ||
|
||||||
this.actionItems.getItems().length > 0) {
|
this.actionItems.getItems().length > 0) {
|
||||||
|
Reference in New Issue
Block a user