Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 448936d

Browse files
authored
fix-next(android): restore fade animation for simulated nav (NativeScript#6463)
1 parent f5cca13 commit 448936d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 = currentEntry ? this._getIsAnimatedNavigation(newEntry.entry) : false;
367+
const animated = this._getIsAnimatedNavigation(newEntry.entry);
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)