diff --git a/My1kWordsEe/Components/Pages/FavoritesPage.razor b/My1kWordsEe/Components/Pages/FavoritesPage.razor index cf325e4..f4c2035 100644 --- a/My1kWordsEe/Components/Pages/FavoritesPage.razor +++ b/My1kWordsEe/Components/Pages/FavoritesPage.razor @@ -42,6 +42,7 @@ PreloadService.Show(SpinnerColor.Light, "Saving data..."); var user = await UserAccessor.GetRequiredUserAsync(User); Favorites = await AddToFavoritesCommand.Invoke(user.Id, favorite); + await Task.Delay(300); PreloadService.Hide(); StateHasChanged(); } @@ -51,6 +52,7 @@ PreloadService.Show(SpinnerColor.Light, "Saving data..."); var user = await UserAccessor.GetRequiredUserAsync(User); Favorites = await RemoveFromFavoritesCommand.Invoke(user.Id, favorite); + await Task.Delay(300); PreloadService.Hide(); StateHasChanged(); } diff --git a/My1kWordsEe/Components/Pages/Games/ListenToEeGamePage.razor b/My1kWordsEe/Components/Pages/Games/ListenToEeGamePage.razor index 970d199..c31a81a 100644 --- a/My1kWordsEe/Components/Pages/Games/ListenToEeGamePage.razor +++ b/My1kWordsEe/Components/Pages/Games/ListenToEeGamePage.razor @@ -87,6 +87,8 @@ {
  • @checkResult.EeSentence +
    + (@checkResult.EnSentence)
  • } else @@ -97,6 +99,8 @@
  • @checkResult.EeSentence +
    + (@checkResult.EnSentence)
  • @checkResult.EnComment diff --git a/My1kWordsEe/Components/Pages/WordPage.razor b/My1kWordsEe/Components/Pages/WordPage.razor index 76dec2c..a5026e3 100644 --- a/My1kWordsEe/Components/Pages/WordPage.razor +++ b/My1kWordsEe/Components/Pages/WordPage.razor @@ -75,6 +75,7 @@ PreloadService.Show(SpinnerColor.Light, "Saving data..."); var user = await UserAccessor.GetRequiredUserAsync(User); Favorites = await AddToFavoritesCommand.Invoke(user.Id, favorite); + await Task.Delay(300); PreloadService.Hide(); StateHasChanged(); } @@ -85,6 +86,7 @@ var user = await UserAccessor.GetRequiredUserAsync(User); Favorites = await RemoveFromFavoritesCommand.Invoke(user.Id, favorite); PreloadService.Hide(); + await Task.Delay(300); StateHasChanged(); }