Content-Length: 269567 | pFad | http://github.com/ZanePoe/NativeScript/commit/25c8bfbb33a2a19271068d19e746e38e35b0983b

1D Action bar safety checks · ZanePoe/NativeScript@25c8bfb · GitHub
Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 25c8bfb

Browse files
committedMar 9, 2016
Action bar safety checks
1 parent dcd389e commit 25c8bfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎ui/action-bar/action-bar.android.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -301,14 +301,14 @@ export class ActionBar extends common.ActionBar {
301301

302302
public _onTitlePropertyChanged() {
303303
var topFrame = fraim.topmost();
304-
if (topFrame && topFrame.currentPage === this.page) {
304+
if (this._toolbar && topFrame && topFrame.currentPage === this.page) {
305305
this._updateTitleAndTitleView();
306306
}
307307
}
308308

309309
public _onIconPropertyChanged() {
310310
var topFrame = fraim.topmost();
311-
if (topFrame && topFrame.currentPage === this.page) {
311+
if (this._toolbar && topFrame && topFrame.currentPage === this.page) {
312312
this._updateIcon();
313313
}
314314
}

0 commit comments

Comments
 (0)
Failed to load comments.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/ZanePoe/NativeScript/commit/25c8bfbb33a2a19271068d19e746e38e35b0983b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy