Skip to content

Commit

Permalink
Fix linting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu committed Aug 29, 2024
1 parent 74c9d63 commit e36b1d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Navigator/EPUB/EPUBNavigatorViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
)
Expand Down

0 comments on commit e36b1d8

Please sign in to comment.