override fun handleRecentHistoryGroupClicked(recentHistoryGroup: RecentHistoryGroup) { navController.navigate( HomeFragmentDirections.actionGlobalHistoryMetadataGroup( title = recentHistoryGroup.title, historyMetadataItems = recentHistoryGroup.historyMetadata .mapIndexed { index, item -> item.toHistoryMetadata(index) }.toTypedArray(), ), ) }
Navigates to the history metadata group fragment to display the group.