File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
java/eu/darken/capod/main/ui/stemactions Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ import androidx.hilt.navigation.compose.hiltViewModel
3737import androidx.lifecycle.compose.collectAsStateWithLifecycle
3838import eu.darken.capod.R
3939import eu.darken.capod.common.navigation.NavigationEventHandler
40+ import eu.darken.capod.common.settings.InfoBoxType
4041import eu.darken.capod.common.settings.SettingsCategoryHeader
42+ import eu.darken.capod.common.settings.SettingsInfoBox
4143import eu.darken.capod.reaction.core.stem.StemAction
4244
4345@Composable
@@ -180,6 +182,15 @@ fun StemActionConfigScreen(
180182 )
181183 }
182184
185+ if (state.leftLong != StemAction .NONE || state.rightLong != StemAction .NONE ) {
186+ item(" long_anc_cycle_info" ) {
187+ SettingsInfoBox (
188+ text = stringResource(R .string.stem_actions_long_press_anc_cycle_info),
189+ type = InfoBoxType .INFO ,
190+ )
191+ }
192+ }
193+
183194 item(" bottom_spacer" ) {
184195 Spacer (modifier = Modifier .height(16 .dp))
185196 }
Original file line number Diff line number Diff line change 521521 <string name =" stem_actions_double_press" >Double Press</string >
522522 <string name =" stem_actions_triple_press" >Triple Press</string >
523523 <string name =" stem_actions_long_press" >Long Press</string >
524+ <string name =" stem_actions_long_press_anc_cycle_info" >Assigning a long-press action also disables cycling Noise Control modes (e.g. Noise Cancellation, Transparency) by holding the stem on the AirPods.</string >
524525 <string name =" stem_actions_left" >Left</string >
525526 <string name =" stem_actions_right" >Right</string >
526527 <string name =" stem_action_none" >Default</string >
You can’t perform that action at this time.
0 commit comments