Skip to content

Commit f1deb9d

Browse files
authored
Fix crash in the image navigator (#582)
1 parent edd9991 commit f1deb9d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ All notable changes to this project will be documented in this file. Take a look
44

55
**Warning:** Features marked as *experimental* may change or be removed in a future release without notice. Use with caution.
66

7-
<!-- ## [Unreleased] -->
7+
## [Unreleased]
8+
9+
### Fixed
10+
11+
#### Navigator
12+
13+
* Fixed crash in the image navigator.
14+
815

916
## [3.0.0]
1017

readium/navigator/src/main/java/org/readium/r2/navigator/image/ImageNavigatorFragment.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,12 @@ public class ImageNavigatorFragment private constructor(
238238
override val publicationView: View
239239
get() = requireView()
240240

241-
@Suppress("DEPRECATION")
242241
@Deprecated(
243242
"Use `overflow.value.readingProgression` instead",
244243
replaceWith = ReplaceWith("overflow.value.readingProgression"),
245244
level = DeprecationLevel.ERROR
246245
)
247-
override val readingProgression: PublicationReadingProgression =
246+
override val readingProgression: PublicationReadingProgression get() =
248247
throw NotImplementedError()
249248

250249
@ExperimentalReadiumApi

0 commit comments

Comments
 (0)