mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-09-01 16:59:35 +02:00
android: show bypassed message on settings page before first connect
This commit is contained in:
+8
-1
@@ -832,10 +832,17 @@ fun AirPodsSettingsScreen(
|
||||
)
|
||||
} else {
|
||||
Text(
|
||||
text = stringResource(R.string.not_connected),
|
||||
text = stringResource(R.string.airpods_not_connected),
|
||||
style = MaterialTheme.typography.labelMediumEmphasized,
|
||||
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="privacy_policy">Privacy Policy</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>
|
||||
|
||||
Reference in New Issue
Block a user