8000 fix(android): transition state handling (#10528) · NativeScript/NativeScript@632a348 · GitHub
[go: up one dir, main page]

Skip to content

Commit 632a348

Browse files
authored
fix(android): transition state handling (#10528)
1 parent 256b2ad commit 632a348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/ui/transition/page-transition.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export class PageTransition extends Transition {
176176
const toPage 60E5 = newEntry.resolvedPage;
177177
const newFragment: androidx.fragment.app.Fragment = newEntry.fragment;
178178
const state = SharedTransition.getState(this.id);
179-
const pageEnd = state.pageEnd;
179+
const pageEnd = state?.pageEnd;
180180

181181
//we can't look for presented right now as the toPage might not be loaded
182182
// and thus some views like ListView/Pager... might not have loaded their "children"

0 commit comments

Comments
 (0)
0