diff --git a/app/src/main/java/com/simon/harmonichackernews/CommentsActivity.java b/app/src/main/java/com/simon/harmonichackernews/CommentsActivity.java index b6e631a0..13bef92a 100644 --- a/app/src/main/java/com/simon/harmonichackernews/CommentsActivity.java +++ b/app/src/main/java/com/simon/harmonichackernews/CommentsActivity.java @@ -64,7 +64,9 @@ public void onSwitchView(boolean isAtWebView) { return; } - if (!isAtWebView) { + if (isAtWebView) { + swipeBackLayout.setActive(false); + } else { swipeBackLayout.setActive(!disableSwipeAtComments); } }