Commit 09ace13
committed
feat(home): Add weather widget click handler
This commit adds a click listener to the weather widget on the home screen. Tapping the widget now launches the device's default weather application.
The changes include:
- Importing the `openFirstWeatherApp` helper function.
- Adding a new case for `R.id.weather` in the `onClick` handler to trigger the function.
- Registering the `onClick` listener for the weather view.1 parent de0f37b commit 09ace13
File tree
1 file changed
+8
-1
lines changed- app/src/main/java/com/github/droidworksstudio/mlauncher/ui
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
348 | | - | |
| 349 | + | |
349 | 350 | | |
350 | 351 | | |
351 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
352 | 358 | | |
353 | 359 | | |
354 | 360 | | |
| |||
433 | 439 | | |
434 | 440 | | |
435 | 441 | | |
| 442 | + | |
436 | 443 | | |
437 | 444 | | |
438 | 445 | | |
| |||
0 commit comments