File tree Expand file tree Collapse file tree
app/src/main/java/com/mapcode/map Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -395,11 +395,10 @@ private fun MapControls(
395395 onShareMapcodeClick : () -> Unit = {},
396396 onAboutClick : () -> Unit = {}
397397) {
398- val greenButtonColors = ButtonDefaults .buttonColors(backgroundColor = Green600 , contentColor = Color .White )
399398 val satelliteButtonColors: ButtonColors = if (isSatelliteModeEnabled) {
400399 ButtonDefaults .buttonColors(backgroundColor = Yellow300 , contentColor = Color .Black )
401400 } else {
402- greenButtonColors
401+ ButtonDefaults .buttonColors(backgroundColor = Green600 , contentColor = Color . White )
403402 }
404403
405404 val satelliteButtonIcon: Painter = if (isSatelliteModeEnabled) {
@@ -443,7 +442,7 @@ private fun MapControls(
443442 .align(Alignment .Bottom ),
444443 onClick = onDirectionsClick,
445444 contentPadding = PaddingValues (8 .dp),
446- colors = greenButtonColors
445+ colors = greyButtonColors()
447446 ) {
448447 Icon (
449448 painter = painterResource(R .drawable.ic_outline_directions_24),
You can’t perform that action at this time.
0 commit comments