andoriyaprashant / OpSo

OpSo is a Flutter app that provides comprehensive information about various open-source programs
MIT License
35 stars 59 forks source link

BUG: Initial theme toggling bug #228

Closed Mastermind-sap closed 1 week ago

Mastermind-sap commented 1 week ago

Is there an existing issue for this?

What happened?

When you first build the app on any device or install it for first time, it initializes the theme to system's default theme. If the system theme is light mode there is no visible error but if it is dark mode the toggling button will skip the press for one click as it will set System (presumed to be Light mode by the code given in home_page.dart )mode to Dark mode first.

Demonstration of the bug with printing the current theme:

https://github.com/andoriyaprashant/OpSo/assets/66560136/1b0bc633-18d6-4eda-9309-b0450f3a5bdc

Record

github-actions[bot] commented 1 week ago

Thank you for creating this issue! We'll look into it as soon as possible. Your contributions are highly appreciated! 😊

github-actions[bot] commented 1 week ago

Hello @Mastermind-sap! Your issue #228 has been closed. Thank you for your contribution!