Skip to content

Commit

Permalink
Remove login promp on login click (#100)
Browse files Browse the repository at this point in the history
* Dismiss prompt when login is initiated

* Better place

* This is no longer needed

---------

Co-authored-by: filip-misztal <[email protected]>
  • Loading branch information
xserxses and filip-misztal authored Oct 4, 2023
1 parent d08c10e commit 263374f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ internal class LoginPromptFragment : BottomSheetDialogFragment() {

private fun initializeButtons() {
binding.loginPromptAuth.setOnClickListener {
dismiss()
startActivity(loginPromptConfig.authIntent)
SchibstedAccountTracker.track(LoginPromptClickToLogin)
dismissAllowingStateLoss()
}
binding.loginPromptSkip.setOnClickListener {
SchibstedAccountTracker.track(LoginPromptClickToContinueWithoutLogin)
Expand Down

0 comments on commit 263374f

Please sign in to comment.