mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 00:37:03 +05:30
fix(android): only show data transfer action on home screen
This commit is contained in:
parent
c6ea1182e0
commit
a82d0e7063
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ fun LobstersApp(
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
actions = {
|
actions = {
|
||||||
if (currentDestination != Destinations.DataTransfer.route) {
|
if (navItems.any { it.route == currentDestination }) {
|
||||||
IconButton(onClick = { navController.navigate(Destinations.DataTransfer.route) }) {
|
IconButton(onClick = { navController.navigate(Destinations.DataTransfer.route) }) {
|
||||||
Icon(
|
Icon(
|
||||||
imageVector = Icons.Outlined.ImportExport,
|
imageVector = Icons.Outlined.ImportExport,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue