Skip to content

Commit 4e12d87

Browse files
thisisAcidickavishdevar
authored andcommitted
android: allow non-premium users to disable head gestures (#564)
1 parent 4c93103 commit 4e12d87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

android/app/src/main/java/me/kavishdevar/librepods/presentation/screens/HeadTrackingScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ fun HeadTrackingScreen(viewModel: AirPodsViewModel, navController: NavController
197197
label = "Head Gestures",
198198
checked = state.headGesturesEnabled,
199199
onCheckedChange = { viewModel.setHeadGesturesEnabled(it) },
200-
enabled = state.isPremium,
200+
enabled = state.isPremium || state.headGesturesEnabled,
201201
description = stringResource(R.string.head_gestures_details)
202202
)
203203

0 commit comments

Comments
 (0)