From e1ec27964ff6c3df96e0cc2595fa2bc233a106c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20Mac=20Gillicuddy?= Date: Thu, 30 Jan 2020 10:18:23 +0000 Subject: [PATCH] Update core/src/main/java/org/kiwix/kiwixmobile/core/main/DocumentParser.java Co-Authored-By: Abdul Wadood --- .../java/org/kiwix/kiwixmobile/core/main/DocumentParser.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/main/java/org/kiwix/kiwixmobile/core/main/DocumentParser.java b/core/src/main/java/org/kiwix/kiwixmobile/core/main/DocumentParser.java index 014375688..3e0842c2d 100644 --- a/core/src/main/java/org/kiwix/kiwixmobile/core/main/DocumentParser.java +++ b/core/src/main/java/org/kiwix/kiwixmobile/core/main/DocumentParser.java @@ -81,10 +81,8 @@ public class DocumentParser { @SuppressWarnings("unused") public void stop() { List listToBeSentToMainThread = new ArrayList<>(sections); - listToBeSentToMainThread.addAll(sections); new Handler(Looper.getMainLooper()).post(() -> listener.sectionsLoaded(title, listToBeSentToMainThread)); } } } -