Closed YonasAlem closed 1 year ago
Thank you @YonasAlem for reporting this issue. Would you also provide some additional info like what device and OS were you able to reproduce this on? was it a simulator or a real device?
Real android device.
On Mon, 15 May 2023, 10:33 Birju Vachhani, @.***> wrote:
Thank you @YonasAlem https://github.com/YonasAlem for reporting this issue. Would you also provide some additional info like what device and OS were you able to reproduce this on? was it a simulator or a real device?
— Reply to this email directly, view it on GitHub https://github.com/BirjuVachhani/adaptive_theme/issues/46#issuecomment-1547333859, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZDK3MMD75P5X2BSHWPB6OLXGHL23ANCNFSM6AAAAAAYBV2ERQ . You are receiving this because you were mentioned.Message ID: @.***>
@YonasAlem So I have dart theme enabled in system and adaptiveThemeMode.system selected in the app. I go to settings and tun off dark theme and then go back to the app and the app is in light theme now as expected. Am I doing anything wrong? Can you try to reproduce with the example app please?
https://github.com/BirjuVachhani/adaptive_theme/assets/20423471/d81a5131-da15-4f6a-a23e-feb4d6ce9b9e
@BirjuVachhani I'm sorry for the delay. I found out that the problem was not in your package, instead it was another package called #flutter_screenutil. and they fixed it. and its all working now. sorry for misleading info on your package. thanks for your time.
@YonasAlem No problem! Glad I could help!
Describe the bug When the theme mode is AdaptiveThemeMode.system and the current phone's system theme is dark mode and when you launch the app it will display the dark theme. but while the app is opened and when you change the the phone's system theme to light mode the app will not reflect to the change. but after restart it will change to light mode.
but vice versa is still working fines, when you launch the app from light mode.
before flutter 3.10 it works as it should.
To Reproduce Steps to reproduce the behavior:
Expected behavior when changing the systems theme from dark to light, the app should also react to that.
Screenshots No need.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.