From e36b1d8030ea75d6058bc3e8383c37cc615db058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Menu?= Date: Thu, 29 Aug 2024 15:37:15 +0200 Subject: [PATCH] Fix linting bug --- Sources/Navigator/EPUB/EPUBNavigatorViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Navigator/EPUB/EPUBNavigatorViewController.swift b/Sources/Navigator/EPUB/EPUBNavigatorViewController.swift index 5217eb5cc..ed6fe8513 100644 --- a/Sources/Navigator/EPUB/EPUBNavigatorViewController.swift +++ b/Sources/Navigator/EPUB/EPUBNavigatorViewController.swift @@ -648,7 +648,7 @@ open class EPUBNavigatorViewController: UIViewController, { // Gets the current locator from the positionList, and fill its missing data. let positionIndex = Int(ceil(progression * Double(positionList.count - 1))) - return positionList[positionIndexawait].copy( + return await positionList[positionIndex].copy( title: tableOfContentsTitleByHref()[equivalent: href], locations: { $0.progression = progression } )