mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 06:27:02 +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,12 +152,14 @@ fun LobstersApp(
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
actions = {
|
actions = {
|
||||||
|
if (currentDestination != Destinations.DataTransfer.route) {
|
||||||
IconButton(onClick = { navController.navigate(Destinations.DataTransfer.route) }) {
|
IconButton(onClick = { navController.navigate(Destinations.DataTransfer.route) }) {
|
||||||
Icon(
|
Icon(
|
||||||
imageVector = Icons.Outlined.ImportExport,
|
imageVector = Icons.Outlined.ImportExport,
|
||||||
contentDescription = "Data transfer options"
|
contentDescription = "Data transfer options"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue