Fix crash if donation error dialog is dismissed after fragment disappears.

This commit is contained in:
Alex Hart 2024-01-11 11:09:37 -04:00
parent a340b13f65
commit d7b79314d9

View file

@ -327,7 +327,7 @@ class DonationCheckoutDelegate(
errorDialog = null
if (!tryAgain) {
tryAgain = false
fragment!!.findNavController().popBackStack()
fragment?.findNavController()?.popBackStack()
}
}
}