Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-udy committed Apr 30, 2024
1 parent 409e08b commit 3d92497
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,10 @@ public class FragmentNavigationContainer internal constructor(
fragmentManager.findFragmentByTag(it.instructionId)
}
?.let { primaryFragment ->
if (fragmentManager.primaryNavigationFragment != primaryFragment)
fragmentManager.commitNow {
setPrimaryNavigationFragment(primaryFragment)
if (fragmentManager.primaryNavigationFragment != primaryFragment) {
fragmentManager.commitNow {
setPrimaryNavigationFragment(primaryFragment)
}
}
}
return true
Expand Down

0 comments on commit 3d92497

Please sign in to comment.