mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-10-22 21:55:03 -04:00
Progress toward purging static current locale
This commit is contained in:
1 parent
901572e7bb
commit
82318ffab7
4 files changed
+17
-8
No files matched your search
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using AudibleApi;
|
||||
using DataLayer;
|
||||
using Dinah.Core;
|
||||
using Dinah.Core.ErrorHandling;
|
||||
@@ -42,7 +43,8 @@ namespace FileLiberator
|
||||
|
||||
private async Task<string> downloadBookAsync(LibraryBook libraryBook, string tempAaxFilename)
|
||||
{
|
||||
var api = await AudibleApiActions.GetApiAsync();
|
||||
var locale = Localization.Get(libraryBook.Book.Locale);
|
||||
var api = await AudibleApiActions.GetApiAsync(locale);
|
||||
|
||||
var actualFilePath = await PerformDownloadAsync(
|
||||
tempAaxFilename,
|
||||
|
||||
Reference in new issue
Block a user