android: show bypassed message on settings page before first connect

This commit is contained in:
Kavish Devar
2026-08-27 15:26:10 +05:30
parent a7537f2361
commit 95ecc0eb3d
2 changed files with 9 additions and 1 deletions
@@ -832,10 +832,17 @@ fun AirPodsSettingsScreen(
) )
} else { } else {
Text( Text(
text = stringResource(R.string.not_connected), text = stringResource(R.string.airpods_not_connected),
style = MaterialTheme.typography.labelMediumEmphasized, style = MaterialTheme.typography.labelMediumEmphasized,
color = MaterialTheme.colorScheme.primary color = MaterialTheme.colorScheme.primary
) )
if (sharedPreferences.getBoolean("bypass_device_check.v2", false)) {
Text(
text = stringResource(R.string.compatibility_check_bypassed),
style = MaterialTheme.typography.labelSmallEmphasized,
color = MaterialTheme.colorScheme.onSurface
)
}
} }
} }
@@ -290,4 +290,5 @@
<string name="permissions">Permissions</string> <string name="permissions">Permissions</string>
<string name="privacy_policy">Privacy Policy</string> <string name="privacy_policy">Privacy Policy</string>
<string name="i_agree">I agree</string> <string name="i_agree">I agree</string>
<string name="compatibility_check_bypassed">Compatibility check bypassed. Are you sure your device is compatible?</string>
</resources> </resources>