Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Commit 55281d7

Browse files
committed
Merge pull request #43 from readium/feature/packageRenditionMetadata
spineItem.isFixedLayout now takes into account package-level metadata
2 parents 6c648f8 + cd4a6f4 commit 55281d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SDKLauncher-Android/src/org/readium/sdk/android/launcher/WebViewActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ public void run() {
507507
page.getSpineItemPageIndex() + 1,
508508
page.getSpineItemPageCount()));
509509
SpineItem spineItem = mPackage.getSpineItem(page.getIdref());
510-
boolean isFixedLayout = spineItem.isFixedLayout();
510+
boolean isFixedLayout = spineItem.isFixedLayout(mPackage);
511511
mWebview.getSettings().setBuiltInZoomControls(isFixedLayout);
512512
mWebview.getSettings().setDisplayZoomControls(false);
513513
}

0 commit comments

Comments
 (0)