Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
Aashir1111 committed Mar 17, 2021
1 parent 92d9007 commit 462bc84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ class FolioWebView : WebView {
popupWindow.isClippingEnabled = false
popupWindow.showAtLocation(this@FolioWebView, Gravity.NO_GRAVITY,
popupRect.left, popupRect.top)
onHighlightColorClicked(HighlightStyle.Yellow, false)
// onHighlightColorClicked(HighlightStyle.Yellow, false)
} else {
Log.i(LOG_TAG, "-> Still scrolling, don't show Popup")
oldScrollX = currentScrollX
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ public void onClick(View v) {
config = new Config();
config.setAllowedDirection(Config.AllowedDirection.ONLY_HORIZONTAL);

folioReader.setReadPosition(readPosition)
.setConfig(config, true)
.openBook("file:///android_asset/TheSilverChair.epub","Arabic","");
// folioReader.setReadPosition(readPosition)
// .setConfig(config, true)
// .openBook("file:///android_asset/TheSilverChair.epub","Arabic","");
}
});
}
Expand Down

0 comments on commit 462bc84

Please sign in to comment.