JagandeepBrar / lunasea

Self-hosted software controller built using Flutter
https://www.lunasea.app
GNU General Public License v3.0
1.28k stars 63 forks source link

[Bug] Calendar/Schedules #493

Closed Darkham42 closed 2 years ago

Darkham42 commented 2 years ago

Describe the Bug In Settings > Configuration > Dashboard > Calendar Settings > Starting Type Calendar icon is for schedule, and schedule icon for calendar, and Seems a little weird, and more than a picto invert params there is a problem, if we don't relaunch the app choice seems not kept

To Reproduce Go to Settings > Configuration > Dashboard > Calendar Settings > Starting Type change for the other one not already choose, go back to dashboard (in my case dashboard default page is calendar) the calendar/schedule don't change for your choice until restarting the app.

Expected Behaviour Calendar picto for calendar choice and schedule picto for schedule choice. Don't have to restart the app.

Screenshots Screenshot_20211017-032947

Versions LunaSea: 5.1.1 Android (Google Play, Beta user)

JagandeepBrar commented 2 years ago

Fixed in https://github.com/CometTools/LunaSea/commit/ccf23e5ac5118cc9953b886065a137d9d41e96c0.

Will be released with v6.0.0