Commit b621410
authored
Add updateDatabaseAndPanels call on viewDidAppear (#4229)
Introduces updateDatabaseAndPanels, which updates the app database and
panels for the current server. This method is now called in
viewDidAppear and after certain actions to ensure data is refreshed
without blocking app launch.
<!-- Thank you for submitting a Pull Request and helping to improve Home
Assistant. Please complete the following sections to help the processing
and review of your changes. Please do not delete anything from this
template. -->
## Summary
<!-- Provide a brief summary of the changes you have made and most
importantly what they aim to achieve -->
## Screenshots
<!-- If this is a user-facing change not in the frontend, please include
screenshots in light and dark mode. -->
## Link to pull request in Documentation repository
<!-- Pull requests that add, change or remove functionality must have a
corresponding pull request in the Companion App Documentation repository
(https://github.com/home-assistant/companion.home-assistant). Please add
the number of this pull request after the "#" -->
Documentation: home-assistant/companion.home-assistant#
## Any other notes
<!-- If there is any other information of note, like if this Pull
Request is part of a bigger change, please include it here. -->1 parent de371a6 commit b621410
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
274 | 279 | | |
275 | 280 | | |
276 | 281 | | |
| |||
740 | 745 | | |
741 | 746 | | |
742 | 747 | | |
| 748 | + | |
743 | 749 | | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
744 | 753 | | |
745 | 754 | | |
746 | 755 | | |
| |||
1545 | 1554 | | |
1546 | 1555 | | |
1547 | 1556 | | |
| 1557 | + | |
1548 | 1558 | | |
1549 | 1559 | | |
0 commit comments