Show "add access point" when the user selects add Apn.
Fix: 308724447 Test: Visual Test Change-Id: I7c5a93c426dbb7806e5c21bae22f0dba7f61d870
This commit is contained in:
@@ -3094,6 +3094,8 @@
|
|||||||
<string name="apn_settings">APNs</string>
|
<string name="apn_settings">APNs</string>
|
||||||
<!-- Screen title after user selects APNs setting option -->
|
<!-- Screen title after user selects APNs setting option -->
|
||||||
<string name="apn_edit">Edit access point</string>
|
<string name="apn_edit">Edit access point</string>
|
||||||
|
<!-- Screen title after user selects add APNs setting -->
|
||||||
|
<string name="apn_add">Add access point</string>
|
||||||
<!-- Edit access point label summary text when no value has been set -->
|
<!-- Edit access point label summary text when no value has been set -->
|
||||||
<string name="apn_not_set">Not set</string>
|
<string name="apn_not_set">Not set</string>
|
||||||
<!-- Edit access point label summary text when no value has been set for mvno value. [CHAR LIMIT=NONE]-->
|
<!-- Edit access point label summary text when no value has been set for mvno value. [CHAR LIMIT=NONE]-->
|
||||||
|
@@ -96,7 +96,7 @@ fun ApnPage(apnDataInit: ApnData, apnDataCur: MutableState<ApnData>, uriInit: Ur
|
|||||||
getNetworkTypeSelectedOptionsState(apnData.networkType)
|
getNetworkTypeSelectedOptionsState(apnData.networkType)
|
||||||
}
|
}
|
||||||
RegularScaffold(
|
RegularScaffold(
|
||||||
title = stringResource(id = R.string.apn_edit),
|
title = if(apnDataInit.newApn) stringResource(id = R.string.apn_add) else stringResource(id = R.string.apn_edit),
|
||||||
actions = {
|
actions = {
|
||||||
IconButton(onClick = {
|
IconButton(onClick = {
|
||||||
validateAndSaveApnData(apnDataInit, apnData, context, uriInit)
|
validateAndSaveApnData(apnDataInit, apnData, context, uriInit)
|
||||||
|
Reference in New Issue
Block a user