From 18ea5455e36b19b6acdf69ff8e130a2672cf9818 Mon Sep 17 00:00:00 2001 From: Joy <29514446+fillwithjoy1@users.noreply.github.com> Date: Thu, 7 Mar 2024 02:58:27 +1000 Subject: [PATCH] Update UserAgentPropertyView.kt --- .../enablevolte/components/UserAgentPropertyView.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/dev/bluehouse/enablevolte/components/UserAgentPropertyView.kt b/app/src/main/java/dev/bluehouse/enablevolte/components/UserAgentPropertyView.kt index df05bcf..6976d8f 100644 --- a/app/src/main/java/dev/bluehouse/enablevolte/components/UserAgentPropertyView.kt +++ b/app/src/main/java/dev/bluehouse/enablevolte/components/UserAgentPropertyView.kt @@ -121,8 +121,8 @@ fun UserAgentUpdateDialog( @Composable fun UserAgentPropertyView(label: String, value: String?, onUpdate: ((String) -> Unit)? = null) { - val labels = arrayOf(stringResource(R.string.default_), stringResource(R.string.lgu)) - val values = arrayOf(stringResource(R.string.ua_default), stringResource(R.string.ua_lgu)) + val labels = arrayOf(stringResource(R.string.default_), stringResource(R.string.lgu), stringResource(R.string.pixel_6_pro)) + val values = arrayOf(stringResource(R.string.ua_default), stringResource(R.string.ua_lgu), stringResource(R.string.p6p)) var typedText by rememberSaveable { mutableStateOf("") } var openTextEditDialog by rememberSaveable { mutableStateOf(false) } @@ -160,8 +160,8 @@ fun UserAgentPropertyView(label: String, value: String?, onUpdate: ((String) -> @Preview @Composable fun UserAgentUpdateDialogPreview() { - val labels = arrayOf(stringResource(R.string.default_), stringResource(R.string.lgu)) - val values = arrayOf(stringResource(R.string.ua_default), stringResource(R.string.ua_lgu)) + val labels = arrayOf(stringResource(R.string.default_), stringResource(R.string.lgu), stringResource(R.string.pixel_6_pro)) + val values = arrayOf(stringResource(R.string.ua_default), stringResource(R.string.ua_lgu), stringResource(R.string.p6p)) var typedText by rememberSaveable { mutableStateOf("") } var openTextEditDialog by rememberSaveable { mutableStateOf(false) }