mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-13 09:26:52 -04:00
Update core/src/main/java/org/kiwix/kiwixmobile/core/main/DocumentParser.java
Co-Authored-By: Abdul Wadood <abdulwd97@gmail.com>
This commit is contained in:
parent
2eb839ed6a
commit
e1ec27964f
@ -81,10 +81,8 @@ public class DocumentParser {
|
||||
@SuppressWarnings("unused")
|
||||
public void stop() {
|
||||
List<DocumentSection> listToBeSentToMainThread = new ArrayList<>(sections);
|
||||
listToBeSentToMainThread.addAll(sections);
|
||||
new Handler(Looper.getMainLooper()).post(() ->
|
||||
listener.sectionsLoaded(title, listToBeSentToMainThread));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user