Skip to content

Commit

Permalink
Use fragment as the lifecycle owner
Browse files Browse the repository at this point in the history
  • Loading branch information
tillh-stripe committed Oct 14, 2022
1 parent 296defd commit 4b70ade
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sealed class AuthActivityStarterHost {
override val statusBarColor: Int?
) : AuthActivityStarterHost() {

override val lifecycleOwner: LifecycleOwner = fragment.requireActivity()
override val lifecycleOwner: LifecycleOwner = fragment

@Suppress("DEPRECATION")
override fun startActivityForResult(
Expand Down

0 comments on commit 4b70ade

Please sign in to comment.