Skip to content

Commit 42ca231

Browse files
authored
Fix applying the PSPDFKit settings on configuration changes (#545)
1 parent 10730a0 commit 42ca231

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readium/adapters/pspdfkit/navigator/src/main/java/org/readium/adapter/pspdfkit/navigator/PsPdfKitDocumentFragment.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ public class PsPdfKitDocumentFragment internal constructor(
160160
}
161161
.onSuccess { resetPdfFragment() }
162162
}
163+
} else {
164+
resetPdfFragment()
163165
}
164166
}
165167

0 commit comments

Comments
 (0)