From 5fc979090a4eb6e2f822eccc3249af585abb309e Mon Sep 17 00:00:00 2001 From: Gabriel Luong Date: Mon, 4 Oct 2021 15:58:58 -0400 Subject: [PATCH] For #21694 - Only show the divider line in between items in the Recent Searches --- .../org/mozilla/fenix/historymetadata/view/RecentlyVisited.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/mozilla/fenix/historymetadata/view/RecentlyVisited.kt b/app/src/main/java/org/mozilla/fenix/historymetadata/view/RecentlyVisited.kt index 462b2f536e..b37a498ef8 100644 --- a/app/src/main/java/org/mozilla/fenix/historymetadata/view/RecentlyVisited.kt +++ b/app/src/main/java/org/mozilla/fenix/historymetadata/view/RecentlyVisited.kt @@ -85,7 +85,7 @@ fun RecentlyVisited( RecentVisitItem( recentVisit = recentVisit, menuItems = menuItems, - showDividerLine = index < VISITS_PER_COLUMN - 1, + showDividerLine = index < items.size - 1, onRecentVisitClick = onRecentVisitClick ) }