Masque le menu pendant l'authentification mobile

This commit is contained in:
2026-04-14 23:03:02 +02:00
parent 260b839f93
commit c23dcc8484
3 changed files with 32 additions and 1 deletions

View File

@@ -10,6 +10,9 @@ public sealed class BrowserBridge(IJSRuntime jsRuntime)
public ValueTask SetBodyStateAsync(string? page, string? bodyClass)
=> jsRuntime.InvokeVoidAsync("chesscubingPage.setBodyState", page, bodyClass ?? string.Empty);
public ValueTask SyncMenuAsync()
=> jsRuntime.InvokeVoidAsync("chesscubingMenu.sync");
public ValueTask<string?> ReadMatchJsonAsync(string storageKey, string windowNameKey)
=> jsRuntime.InvokeAsync<string?>("chesscubingStorage.getMatchState", storageKey, windowNameKey);