Correct the wording of mobile data summary

Bug: 337035270
Change-Id: Idc65508e8d4f68376fdfdba873ad049362445ac2
Test: verify the wording
This commit is contained in:
SongFerng Wang
2024-04-30 07:28:09 +00:00
parent 219fb8a3f6
commit 07c7cd6702

View File

@@ -32,7 +32,7 @@ fun MobileDataSwitchingPreference(
isMobileDataEnabled: () -> Boolean?, isMobileDataEnabled: () -> Boolean?,
setMobileDataEnabled: (newEnabled: Boolean) -> Unit, setMobileDataEnabled: (newEnabled: Boolean) -> Unit,
) { ) {
val mobileDataSummary = stringResource(id = R.string.primary_sim_automatic_data_msg) val mobileDataSummary = stringResource(id = R.string.mobile_data_settings_summary)
val coroutineScope = rememberCoroutineScope() val coroutineScope = rememberCoroutineScope()
SwitchPreference( SwitchPreference(
object : SwitchPreferenceModel { object : SwitchPreferenceModel {