prova fix refresh

This commit is contained in:
zaccaria.majid
2023-12-06 15:59:35 +01:00
parent b3ebd24405
commit d4529976ad
9 changed files with 37 additions and 11 deletions
+15
View File
@@ -342,6 +342,21 @@ namespace MP.Data.Services
{
await localStorage.SetItemAsync("CurrMach", machSel);
}
/// <summary>
/// Scrive sul local storage pagina corrente
/// </summary>
public async Task<string> LastOpenedPageGet()
{
return await localStorage.GetItemAsync<string>("LastPage");
}
/// <summary>
/// Ottiene sul local storage pagina corrente
/// </summary>
public async Task LastOpenedPageSet(string lastPage)
{
await localStorage.SetItemAsync("LastPage", lastPage);
}
/// <summary>
/// Effettua salvataggio in localstorage dei dati MSE correnti