feat(mobile-ux): implement theme toggle, client-side persistence, and light mode style overrides #71

Merged
mjasin merged 3 commits from feature/mobile-ux-optimization into develop 2026-06-05 18:02:34 +00:00
Showing only changes of commit 12d701cb84 - Show all commits
@@ -432,8 +432,16 @@
{
try
{
// Ensure the JS module is loaded and the component is fully rendered before invoking interop.
if (!_isJsInitialized)
{
await InitViewportDetectionAsync();
}
var module = await EnsureViewportModuleAsync();
await module.InvokeVoidAsync("scrollToTop", ".reader-canvas");
if (module != null)
{
await module.InvokeVoidAsync("scrollToTop", ".reader-canvas");
}
}
catch (Exception ex)
{