@@ -559,8 +559,11 @@ private fun BandSlidersSection(
559559 horizontalAlignment = Alignment .CenterHorizontally
560560 ) {
561561 Row (
562+ modifier = Modifier
563+ .horizontalScroll(rememberScrollState())
564+ .padding(horizontal = 16 .dp),
562565 verticalAlignment = Alignment .CenterVertically ,
563- horizontalArrangement = Arrangement .spacedBy(8 .dp)
566+ horizontalArrangement = Arrangement .spacedBy(8 .dp, Alignment . CenterHorizontally )
564567 ) {
565568 val isCustomOrSaved = editingPresetName != null || currentPreset.name == " custom" || currentPreset.isCustom
566569 val displayLabel = editingPresetName ? : currentPreset.displayName
@@ -599,7 +602,7 @@ private fun BandSlidersSection(
599602 shape = CircleShape ,
600603 onClick = onSaveClick
601604 ) {
602- Row (
605+ Row (
603606 modifier = Modifier .padding(horizontal = 12 .dp, vertical = 8 .dp),
604607 verticalAlignment = Alignment .CenterVertically
605608 ) {
@@ -615,11 +618,12 @@ private fun BandSlidersSection(
615618 color = MaterialTheme .colorScheme.onTertiaryContainer,
616619 fontWeight = FontWeight .Bold
617620 )
618- }
621+ }
619622 }
620623 }
621624
622625 if (editingPresetName != null ) {
626+ // Update Option
623627 Surface (
624628 color = MaterialTheme .colorScheme.primaryContainer,
625629 shape = CircleShape ,
@@ -643,6 +647,31 @@ private fun BandSlidersSection(
643647 )
644648 }
645649 }
650+
651+ // Save New Option
652+ Surface (
653+ color = MaterialTheme .colorScheme.tertiaryContainer,
654+ shape = CircleShape ,
655+ onClick = onSaveClick
656+ ) {
657+ Row (
658+ modifier = Modifier .padding(horizontal = 12 .dp, vertical = 8 .dp),
659+ verticalAlignment = Alignment .CenterVertically
660+ ) {
661+ Icon (
662+ imageVector = Icons .Rounded .Save ,
663+ contentDescription = null ,
664+ modifier = Modifier .size(20 .dp),
665+ tint = MaterialTheme .colorScheme.onTertiaryContainer
666+ )
667+ Spacer (modifier = Modifier .width(6 .dp))
668+ Text (
669+ text = stringResource(R .string.equalizer_action_save_new),
670+ color = MaterialTheme .colorScheme.onTertiaryContainer,
671+ fontWeight = FontWeight .Bold
672+ )
673+ }
674+ }
646675 }
647676 }
648677
0 commit comments