Commit c7331b7
committed
fix: add error handling for launchUrl in About Us screen
The feedback link in about_us_screen.dart called launchUrl()
with no canLaunchUrl check or try/catch block. If the URL
fails to launch, this throws an unhandled exception and
crashes the app.
Added canLaunchUrl check consistent with how other links
in the same file are already handled.
Fixes #XXXX1 parent 5936ac6 commit c7331b7
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
139 | 144 | | |
140 | 145 | | |
141 | 146 | | |
| |||
0 commit comments