When ever i change the direction from one user it change for the other user too.
the problem i understand is below service r singleton.
builder.Services.AddSingleton<IKTTheme, KTTheme>();
builder.Services.AddSingleton<IBootstrapBase, BootstrapBase>();
But when i change it to scoped i even cancot change direction
Hi,
You will not be able to set KTTheme.SetDirection("RTL"), since after page refresh this value will be overridden with value from configuration.
In theme configuration, you can only set a default direction to switch direction dynamically you will need to store info about the user's selected mode in the session storage or your database. And then in Starterkit/_keenthemes/KTBootstrapBase.cs inside function initThemeDirection()
set saved value.
Regards,
Lauris Stepanovs,
Keenthemes Support Team