diff --git a/Manager.App/Components/Dialogs/AccountDialog.razor b/Manager.App/Components/Dialogs/AccountDialog.razor index e836e0b..bdb8169 100644 --- a/Manager.App/Components/Dialogs/AccountDialog.razor +++ b/Manager.App/Components/Dialogs/AccountDialog.razor @@ -69,25 +69,24 @@ - + @context.Item.Name - - - - - - + @context.Item.Domain - @context.Item.Expires + @context.Item.Expires + + + + + + @context.Item.Value + diff --git a/Manager.YouTube/YouTubeClient.cs b/Manager.YouTube/YouTubeClient.cs index 7038b30..3d65511 100644 --- a/Manager.YouTube/YouTubeClient.cs +++ b/Manager.YouTube/YouTubeClient.cs @@ -140,15 +140,15 @@ public sealed class YouTubeClient : IDisposable return ResultError.Error(e, "Error while parsing JSON!"); } - if (State == null) { return ResultError.Fail("Unable to parse client state!"); } State.IsPremiumUser = clientStateResult.Value.Item2; - - return Result.Success(); + + var cookieRotationResult = await RotateCookiesPageAsync(); + return !cookieRotationResult.IsSuccess ? cookieRotationResult : Result.Success(); } public async Task> GetChannelByIdAsync(string channelId)