From 3bf0c81b42551dbe586cb0b9eedbcb6b95f443dc Mon Sep 17 00:00:00 2001 From: MarkenJaden Date: Fri, 22 Mar 2024 14:35:34 +0100 Subject: [PATCH] Set is_screenshot to false in LoadImages --- Nekos/Pages/Index.razor | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Nekos/Pages/Index.razor b/Nekos/Pages/Index.razor index 81323c8..f910426 100644 --- a/Nekos/Pages/Index.razor +++ b/Nekos/Pages/Index.razor @@ -194,12 +194,8 @@ private async Task LoadImages() { await _console.LogAsync("Loading new images in queue..."); - var images = await _nekoClient.ImagesAsync(rating: ["explicit"], tag: [8], limit: 25); - foreach (var image in images.Items) - { - if (!_images.Any(x => x.Id.Equals(image.Id))) - _images.AddLast(image); - } + var images = await _nekoClient.ImagesAsync(rating: ["explicit"], tag: [8], limit: 25, is_screenshot:false); + foreach (var image in images.Items) if (!_images.Any(x => x.Id.Equals(image.Id))) _images.AddLast(image); await _console.LogAsync("Image loading finished."); }