Skip to content

Commit f2d1d4f

Browse files
author
Dick Smith
committed
If callback is missing, still handleNotification (layout updated) #5071
1 parent c40b724 commit f2d1d4f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tns-core-modules/ui/frame/frame.ios.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class NotificationObserver2 extends NSObject {
3232
public onReceive(notification: NSNotification): void {
3333
if (this._onReceiveCallback) {
3434
this._onReceiveCallback(notification);
35+
} else {
36+
handleNotification(notification);
3537
}
3638
}
3739

0 commit comments

Comments
 (0)