Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Incorrect Theme Toggle Implementation in ThemeCubit (theme_cubit.dart) #5

Open
PadmnabhTewari opened this issue Nov 17, 2024 · 0 comments
Labels

Comments

@PadmnabhTewari
Copy link
Collaborator

PadmnabhTewari commented Nov 17, 2024

The toggle method in ThemeCubit is used to switch between light and dark themes. However, an issue in the logic or implementation may result in the theme not toggling as expected. This task requires reviewing and fixing the theme toggle functionality to ensure it correctly switches between light and dark modes.

Expected behavior

If this method is incorrectly implemented, users may experience unexpected behavior when toggling themes. For example, the theme might not persist between app restarts or may not toggle correctly when the user interacts with the theme switch.

Review the toggle method and ensure it correctly switches the theme state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant