chore: lint

This commit is contained in:
Martin Guillon
2020-12-22 09:30:28 +01:00
parent ed0d3d5b62
commit ca6d82f54c

View File

@ -437,7 +437,7 @@ export class Frame extends FrameBase {
} }
if (clearHistory || isReplace) { if (clearHistory || isReplace) {
transaction.replace(this.containerViewId, newFragment, newFragmentTag); transaction.replace(this.containerViewId, newFragment, newFragmentTag);
} else { } else {
transaction.add(this.containerViewId, newFragment, newFragmentTag); transaction.add(this.containerViewId, newFragment, newFragmentTag);
} }
@ -453,7 +453,6 @@ export class Frame extends FrameBase {
const manager: androidx.fragment.app.FragmentManager = this._getFragmentManager(); const manager: androidx.fragment.app.FragmentManager = this._getFragmentManager();
const transaction = manager.beginTransaction(); const transaction = manager.beginTransaction();
if (!backstackEntry.fragment) { if (!backstackEntry.fragment) {
// Happens on newer API levels. On older all fragments // Happens on newer API levels. On older all fragments
// are recreated once activity is created. // are recreated once activity is created.