Display text changed

This commit is contained in:
himalia416
2025-10-13 14:33:43 +02:00
committed by Himali Aryal
parent 68c69b4e90
commit c32f475bde
2 changed files with 9 additions and 3 deletions

View File

@@ -96,7 +96,10 @@ private fun ChannelSoundingNotEnabledView() {
.fillMaxWidth(),
contentAlignment = Alignment.Center
) {
Text(stringResource(R.string.channel_sounding_not_enabled))
Text(
text = stringResource(R.string.channel_sounding_not_enabled),
textAlign = TextAlign.Center
)
}
}
}
@@ -122,7 +125,10 @@ private fun ChannelSoundingNotSupportedView() {
.fillMaxWidth(),
contentAlignment = Alignment.Center
) {
Text(stringResource(R.string.channel_sounding_not_supported))
Text(
text = stringResource(R.string.channel_sounding_not_supported),
textAlign = TextAlign.Center
)
}
}
}

View File

@@ -3,7 +3,7 @@
<string name="channel_sounding">Channel Sounding</string>
<string name="channel_sounding_not_supported">Channel Sounding is not supported on this Android version.</string>
<string name="channel_sounding_not_enabled">Channel Sounding is supported on this device, but it is currently disabled due to potential accuracy and performance issues. For the best experience, we recommend using a device running Android 16 (API 36, minor version 1) or later.</string>
<string name="channel_sounding_not_enabled">Channel Sounding is supported on Android 16 QPR2 or later. Please update your device to the latest software to use this feature.</string>
<string name="initiating_ranging">Initiating ranging</string>
<string name="ranging_session_restarting">Reconnecting session</string>
<string name="ranging_session_stopped">Ranging session stopped</string>