Chaged colors
Added handelrs for networking exceptions Made Book selector a bit bigger Fixed issue with publishing date
This commit is contained in:
@@ -13,7 +13,7 @@ public class BareBookInfo(string editionId, string title, string? workId = null)
|
||||
public Book getBook()
|
||||
{
|
||||
Dictionary<String, Object>? responce = JsonSerializer.Deserialize<Dictionary<String, Object>>(
|
||||
Helper.Request($"https://openlibrary.org/books/{EditionID}.json"));
|
||||
Helper.Request($"https://openlibrary.org/books/{EditionID}.json") ?? throw new Exception("Network Error"));
|
||||
|
||||
if (responce == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user