Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Fixed storage.getVisited() is always true warning. #1444

Merged
merged 1 commit into from
Jul 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class HistoryStore constructor(val context: Context) {
}

fun isInHistory(aURL: String): CompletableFuture<Boolean> = GlobalScope.future {
storage.getVisited(listOf(aURL)) != null
storage.getVisited(listOf(aURL)).size != 0
}

private fun notifyListeners() {
Expand Down