feat: implemented login-prolong-logout mechanisms

This commit is contained in:
Michael Shabanov committed 2021-10-20 19:06:34 +03:00
1 parent 79a87d0d66
commit 241b879689
53 files changed
+1789 -13

No files matched your search

@@ -55,5 +55,10 @@ namespace WotBlitzStatisticsPro.Blazor.Services
currentSettings.RealmType = notification.RealmType;
await SetItemAsync(UserSettings.UserSettingsLocalStorageKey, currentSettings);
}
public ValueTask DeleteItemAsync(string key)
{
return _jsRuntime.InvokeVoidAsync("localStorage.removeItem", key);
}
}
}