@@ -150,7 +150,7 @@ namespace FoxTube
|
|||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
AuthorizationStateChanged?.Invoke(args: null);
|
AuthorizationStateChanged?.Invoke(args: new bool?[] { null });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -64,8 +64,6 @@ namespace FoxTube
|
|||||||
SecretsVault.CheckAuthorization();
|
SecretsVault.CheckAuthorization();
|
||||||
SecretsVault.CheckAddons();
|
SecretsVault.CheckAddons();
|
||||||
|
|
||||||
DownloadAgent.Initialize();
|
|
||||||
|
|
||||||
SetTitleBar();
|
SetTitleBar();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -229,7 +227,6 @@ namespace FoxTube
|
|||||||
{
|
{
|
||||||
Methods.CloseApp();
|
Methods.CloseApp();
|
||||||
}));
|
}));
|
||||||
dialog.Commands.Add(new UICommand("Close"));
|
|
||||||
|
|
||||||
dialog.CancelCommandIndex = 1;
|
dialog.CancelCommandIndex = 1;
|
||||||
dialog.DefaultCommandIndex = 0;
|
dialog.DefaultCommandIndex = 0;
|
||||||
@@ -237,6 +234,9 @@ namespace FoxTube
|
|||||||
await dialog.ShowAsync();
|
await dialog.ShowAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(e[0] as bool? != null)
|
||||||
|
DownloadAgent.Initialize();
|
||||||
|
|
||||||
content.Navigate(typeof(Home));
|
content.Navigate(typeof(Home));
|
||||||
|
|
||||||
if (videoPlaceholder.Content != null)
|
if (videoPlaceholder.Content != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user