add info button to LocationsScreen top bar to show long press info snackbar

This commit is contained in:
PranshulGG committed 2026-07-27 16:31:45 +05:30
1 parent bf0ceca34d
commit ea10e14735
1 file changed
+8 -1
@@ -110,7 +110,7 @@ fun LocationsScreen(
floatingActionButton = {
FloatingButton(navController)
},
floatingActionButtonPosition = FabPosition.Center
floatingActionButtonPosition = FabPosition.Center,
) { paddingValues ->
Box(
modifier = Modifier
@@ -185,6 +185,13 @@ private fun TopBar(onBack: () -> Unit, isTabletLike: Boolean) {
}
}
}
},
actions = {
IconButton(onClick = {
SnackbarManager.show(R.string.location_long_press_info)
}, shapes = IconButtonDefaults.shapes()) {
Symbol(R.drawable.info_24px)
}
}
)
}