[PM-31775] Refactor popUpToCompleteRegistration to use type-safe KClass reference (#6480)

This commit is contained in:
Patrick Honkonen
2026-02-05 16:44:01 +00:00
committed by GitHub
parent 47b9509062
commit 8e8367a82f
@@ -81,5 +81,5 @@ fun NavGraphBuilder.completeRegistrationDestination(
* Pop up to the complete registration screen.
*/
fun NavController.popUpToCompleteRegistration() {
this.popBackStack(route = CompleteRegistrationRoute, inclusive = false)
this.popBackStack(route = CompleteRegistrationRoute::class, inclusive = false)
}