- Make book card options button smaller
- Filter out null metadata
This commit is contained in:
+4
-1
@@ -54,7 +54,10 @@ public class BookMetadataService {
|
||||
return List.of();
|
||||
}))
|
||||
.toList()
|
||||
.stream().map(CompletableFuture::join).toList();
|
||||
.stream()
|
||||
.map(CompletableFuture::join)
|
||||
.filter(Objects::nonNull)
|
||||
.toList();
|
||||
|
||||
List<FetchedBookMetadata> interleavedMetadata = new ArrayList<>();
|
||||
int maxSize = allMetadata.stream().mapToInt(List::size).max().orElse(0);
|
||||
|
||||
Reference in New Issue
Block a user