Skip to content

Commit

Permalink
Fixes #1569
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasovg committed Feb 24, 2016
1 parent 52c8e53 commit cbbde1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/frame/frame.android.ts
Expand Up @@ -238,6 +238,7 @@ export class Frame extends frameCommon.Frame {
}

let manager = activity.getFragmentManager();
let isFirstNavigation = types.isNullOrUndefined(this._currentEntry);

// Clear history
if (backstackEntry.entry.clearHistory) {
Expand Down Expand Up @@ -307,7 +308,6 @@ export class Frame extends frameCommon.Frame {
// remember the fragment tag at page level so that we can retrieve the fragment associated with a Page instance
backstackEntry.resolvedPage[TAG] = newFragmentTag;

let isFirstNavigation = types.isNullOrUndefined(this._currentEntry);
if (isFirstNavigation) {
fragmentTransaction.add(this.containerViewId, newFragment, newFragmentTag);
trace.write(`fragmentTransaction.add(${newFragmentTag});`, trace.categories.NativeLifecycle);
Expand Down

0 comments on commit cbbde1b

Please sign in to comment.