mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-19 06:07:01 +05:30
test: add more bottom nav tests
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
This commit is contained in:
parent
9185c0e36b
commit
9a79f3ba40
7 changed files with 58 additions and 3 deletions
|
@ -100,6 +100,7 @@ fun LobstersBottomNav(
|
|||
},
|
||||
label = { Text(stringResource(id = screen.labelRes)) },
|
||||
selected = currentDestination == screen,
|
||||
modifier = Modifier.testTag(screen.name),
|
||||
alwaysShowLabel = false,
|
||||
onClick = {
|
||||
if (screen != currentDestination) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue