BirjuVachhani / adaptive_theme

Easiest way to add support for light and dark theme in your flutter app.
https://pub.dev/packages/adaptive_theme
Apache License 2.0
464 stars 37 forks source link

Theme doesn't change on safari. #39

Closed nathanblanchard12 closed 2 years ago

nathanblanchard12 commented 2 years ago

Describe the bug I am unable to change theme from light to dark and vice versa. On Safari.

To Reproduce Steps to reproduce the behavior:

  1. Go to website and select slider to change theme. It doesn't work on Safari

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context I think the themes doesn't w\switch from light to dark and vice versa because of how you saved settings in cookies.

BirjuVachhani commented 2 years ago

Interesting!

I think the themes doesn't w\switch from light to dark and vice versa because of how you saved settings in cookies.

@nathanblanchard12 Can you provide more information on this while I check this?

BirjuVachhani commented 2 years ago

@nathanblanchard12 Can you check this with this demo? This demo is working for me! https://adaptivetheme.codemagic.app/#/

BirjuVachhani commented 2 years ago

Closing this issue because of inactivity. Feel free to re-open if you're still facing the issue.