Use WebLoginDialog as primary login method on Win10+

This commit is contained in:
Mbucari 2023-04-12 10:40:32 -06:00
parent 53b5c1b902
commit df2936e0b6
10 changed files with 208 additions and 14 deletions

View file

@ -1,5 +1,6 @@
using System;
using System.Threading.Tasks;
using System.Windows.Forms;
using AudibleApi;
using AudibleUtilities;
using LibationWinForms.Dialogs.Login;
@ -12,7 +13,7 @@ namespace LibationWinForms.Login
public string DeviceName { get; } = "Libation";
public WinformLoginCallback(Account account)
public WinformLoginCallback(Account account, IWin32Window owner) : base(owner)
{
_account = Dinah.Core.ArgumentValidator.EnsureNotNull(account, nameof(account));
}