Commit d773ebe
committed
fix(headlines-search): check context mount and improve navigation handling
- Add context.mounted check before navigation to prevent errors
- Convert onHeadlineTap function to async
- Use context.pushNamed instead of context.goNamed for better navigation control
- Improve code comments for clarity1 parent dda8e8c commit d773ebe
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
| 313 | + | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
318 | 322 | | |
319 | 323 | | |
320 | 324 | | |
| |||
0 commit comments