Commit ae5f9a6
committed
fix(account): await ad dismissal before navigating
- Modify the onTap callback to asynchronously wait for the interstitial ad to be shown and dismissed
- Add a check to ensure the widget is still mounted before navigating
- Update the navigation to be performed after the ad is closed1 parent 24f9e0e commit ae5f9a6
File tree
1 file changed
+11
-3
lines changed- lib/account/view/manage_followed_items/topics
1 file changed
+11
-3
lines changedLines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
107 | 115 | | |
108 | 116 | | |
109 | 117 | | |
| |||
0 commit comments