Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit fb977a8

Browse files
committed
Improving formatting
1 parent 49585b8 commit fb977a8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

app/src/main/java/acr/browser/lightning/search/SuggestionsAdapter.kt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -193,16 +193,14 @@ class SuggestionsAdapter(
193193
bookmarksEntries
194194
.join(
195195
historyEntries,
196-
{ bookmarksEntries.map { Unit } },
197-
{ historyEntries.map { Unit } }
198-
) { t1, t2 ->
199-
Pair(t1, t2)
200-
}
196+
{ bookmarksEntries },
197+
{ historyEntries }
198+
) { t1, t2 -> Pair(t1, t2) }
201199
.compose { bookmarksAndHistory ->
202200
bookmarksAndHistory.join(
203201
searchEntries,
204-
{ bookmarksAndHistory.map { Unit } },
205-
{ searchEntries.map { Unit } }
202+
{ bookmarksAndHistory },
203+
{ searchEntries }
206204
) { (bookmarks, history), t2 ->
207205
Triple(bookmarks, history, t2)
208206
}

0 commit comments

Comments
 (0)