Skip to content

Commit

Permalink
feat(app): set testTag for bottom nav bar item using title in CrisisC…
Browse files Browse the repository at this point in the history
…leanupBottomBar
  • Loading branch information
deepanchal committed Aug 16, 2023
1 parent 4b267b6 commit f6c6dce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/com/crisiscleanup/ui/CrisisCleanupApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@ private fun CrisisCleanupBottomBar(
selected = selected,
onClick = { onNavigateToDestination(destination) },
icon = { destination.Icon(selected, title) },
modifier = Modifier.testTag("navItem_${title}"),
label = {
Text(
title,
Expand Down

0 comments on commit f6c6dce

Please sign in to comment.