FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Revert "fix-next(android): restore fade animation for simulated nav (… · NativeScript/NativeScript@eba75a5 · GitHub

Commit eba75a5

Browse files
authored
Revert "fix-next(android): restore fade animation for simulated nav (#6463)"
This reverts commit 448936d.
1 parent 448936d commit eba75a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tns-core-modules/ui/frame/frame.android.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ export class Frame extends FrameBase {
364364
const newFragmentTag = `fragment${fragmentId}[${navDepth}]`;
365365
const newFragment = this.createFragment(newEntry, newFragmentTag);
366366
const transaction = manager.beginTransaction();
367-
const animated = this._getIsAnimatedNavigation(newEntry.entry);
367+
const animated = currentEntry ? this._getIsAnimatedNavigation(newEntry.entry) : false;
368368
// NOTE: Don't use transition for the initial navigation (same as on iOS)
369369
// On API 21+ transition won't be triggered unless there was at least one
370370
// layout pass so we will wait forever for transitionCompleted handler...

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL