From 7b9bbd8974afcf231bf58e97b1206e5303606667 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Wed, 7 Jun 2023 22:56:29 +0200 Subject: [PATCH] Fix #473 --- Model/CommentsModel.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Model/CommentsModel.swift b/Model/CommentsModel.swift index 11a89106..8340467c 100644 --- a/Model/CommentsModel.swift +++ b/Model/CommentsModel.swift @@ -69,6 +69,7 @@ final class CommentsModel: ObservableObject { } func loadNextPage() { + guard nextPageAvailable else { return } load(page: nextPage) }