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

@ -32,7 +32,7 @@ namespace LibationWinForms
// in autoScan, new books SHALL NOT show dialog
try
{
Task importAsync() => LibraryCommands.ImportAccountAsync(Login.WinformLoginChoiceEager.ApiExtendedFunc, accounts);
Task importAsync() => LibraryCommands.ImportAccountAsync(Login.WinformLoginChoiceEager.CreateApiExtendedFunc(this), accounts);
if (InvokeRequired)
await Invoke(importAsync);
else