Skip to content

Commit

Permalink
Update UserAgentPropertyView.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
fillwithjoy1 authored Mar 6, 2024
1 parent c25e029 commit 18ea545
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down Expand Up @@ -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) }
Expand Down

0 comments on commit 18ea545

Please sign in to comment.