Skip to content

Commit

Permalink
Fix navigation after closing paywall in Paywalls screen (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro authored and tonidero committed Oct 31, 2023
1 parent 389f0c6 commit 356dff0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ fun PaywallDialog(
}
}
if (shouldDisplayDialog) {
val dismissRequest = { shouldDisplayDialog = false }
val dismissRequest = {
paywallDialogOptions.dismissRequest?.invoke()
shouldDisplayDialog = false
}

Dialog(
onDismissRequest = dismissRequest,
Expand Down

0 comments on commit 356dff0

Please sign in to comment.