Skip to content

Commit

Permalink
Fix issue with impossible cast
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrumac committed Aug 16, 2024
1 parent 0b926fa commit c2b8b42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ class TransactionManager(
val notifications =
paywallInfo.localNotifications.filter { it.type == LocalNotificationType.TrialStarted }
val paywallActivity =
paywallView.encapsulatingActivity as? SuperwallPaywallActivity
paywallView.encapsulatingActivity?.get() as? SuperwallPaywallActivity
?: return
paywallActivity.attemptToScheduleNotifications(
notifications = notifications,
Expand Down

0 comments on commit c2b8b42

Please sign in to comment.