Skip to content

Commit 3a12ac2

Browse files
committed
dismiss poup issue fix
1 parent 6a865e9 commit 3a12ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

folioreader/src/main/java/com/folioreader/view/FolioWebView.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class FolioWebView : WebView {
175175
Log.d(LOG_TAG, "-> dismissPopupWindow -> " + parentFragment.spineItem.href)
176176
val wasShowing = popupWindow.isShowing
177177
if (Looper.getMainLooper().thread == Thread.currentThread()) {
178-
if (!wasShowing)
178+
if (wasShowing)
179179
popupWindow.dismiss()
180180
} else {
181181
uiHandler.post { popupWindow.dismiss() }

0 commit comments

Comments
 (0)