mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 14:07:05 +05:30
fix(android): hide data transfer action on data transfer screen
This commit is contained in:
parent
3738d94789
commit
5e7b79eb89
1 changed files with 7 additions and 5 deletions
|
@ -152,11 +152,13 @@ fun LobstersApp(
|
|||
}
|
||||
},
|
||||
actions = {
|
||||
IconButton(onClick = { navController.navigate(Destinations.DataTransfer.route) }) {
|
||||
Icon(
|
||||
imageVector = Icons.Outlined.ImportExport,
|
||||
contentDescription = "Data transfer options"
|
||||
)
|
||||
if (currentDestination != Destinations.DataTransfer.route) {
|
||||
IconButton(onClick = { navController.navigate(Destinations.DataTransfer.route) }) {
|
||||
Icon(
|
||||
imageVector = Icons.Outlined.ImportExport,
|
||||
contentDescription = "Data transfer options"
|
||||
)
|
||||
}
|
||||
}
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue