mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fixed Issue #1335: Page (xml) with no content does not fire loaded callbacks in ActionBar.
This commit is contained in:
@@ -280,10 +280,13 @@ export class Page extends ContentView implements dts.Page {
|
||||
|
||||
public _eachChildView(callback: (child: view.View) => boolean) {
|
||||
super._eachChildView(callback);
|
||||
|
||||
callback(this.actionBar);
|
||||
}
|
||||
|
||||
get _childrenCount(): number {
|
||||
return (this.content ? 1 : 0) + (this.actionBar ? 1 : 0);
|
||||
}
|
||||
|
||||
private _applyCss() {
|
||||
if (this._cssApplied) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user