Hello,
It seems the old bug resurfaced again in the latest update.
Please check this on https://preview.keenthemes.com/metronic8/react/demo2/dashboard
After theme mode switched to dark, then logged out and logged in again, the theme is dark but the switcher shows light option selected. Some parts of the background are from light theme and some are from dark theme, it is not consistent with the settings.
Thanks for cheking it out.
Best wishes,
Tamas
Hi Lauris,
Thanks for your quick response as always. Yes, this fixed issue.
Warm wishes,
Tamas
Hi Tamas,
Thank you for your feedback.
It is a demo2 bug I already submitted a fix for the next release.
Right now as a temporary solution, you can remove ThemeModeProvider
from src/_metronic/layout/MasterLayout.tsx and add it to src/app/App.tsx as shown below.
<I18nProvider>
<LayoutProvider>
<ThemeModeProvider>
<AuthInit>
<Outlet />
<MasterInit />
</AuthInit>
</ThemeModeProvider>
</LayoutProvider>
</I18nProvider>