Improved visibility of Main screen From from field and Account screen
SIP URI field
This commit is contained in:
@@ -30,6 +30,7 @@ import androidx.compose.material3.Icon
|
|||||||
import androidx.compose.material3.IconButton
|
import androidx.compose.material3.IconButton
|
||||||
import androidx.compose.material3.MaterialTheme
|
import androidx.compose.material3.MaterialTheme
|
||||||
import androidx.compose.material3.OutlinedTextField
|
import androidx.compose.material3.OutlinedTextField
|
||||||
|
import androidx.compose.material3.OutlinedTextFieldDefaults
|
||||||
import androidx.compose.material3.Scaffold
|
import androidx.compose.material3.Scaffold
|
||||||
import androidx.compose.material3.Switch
|
import androidx.compose.material3.Switch
|
||||||
import androidx.compose.material3.Text
|
import androidx.compose.material3.Text
|
||||||
@@ -237,7 +238,14 @@ private fun AccountContent(
|
|||||||
textStyle = TextStyle(fontSize = 18.sp),
|
textStyle = TextStyle(fontSize = 18.sp),
|
||||||
label = {
|
label = {
|
||||||
Text(text = stringResource(R.string.sip_uri), fontWeight = FontWeight.Bold)
|
Text(text = stringResource(R.string.sip_uri), fontWeight = FontWeight.Bold)
|
||||||
}
|
},
|
||||||
|
colors = OutlinedTextFieldDefaults.colors(
|
||||||
|
disabledTextColor = MaterialTheme.colorScheme.onSurface,
|
||||||
|
disabledBorderColor = MaterialTheme.colorScheme.outline,
|
||||||
|
disabledLeadingIconColor = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||||
|
disabledTrailingIconColor = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||||
|
disabledLabelColor = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||||
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1141,12 +1141,8 @@ private fun CallUriRow(ctx: Context, viewModel: ViewModel) {
|
|||||||
) {
|
) {
|
||||||
OutlinedTextField(
|
OutlinedTextField(
|
||||||
value = callUri.value,
|
value = callUri.value,
|
||||||
enabled = callUriEnabled.value,
|
readOnly = !callUriEnabled.value,
|
||||||
singleLine = true,
|
singleLine = true,
|
||||||
//colors = OutlinedTextFieldDefaults.colors(
|
|
||||||
// focusedBorderColor = MaterialTheme.colorScheme.primary,
|
|
||||||
// unfocusedBorderColor = MaterialTheme.colorScheme.outline,
|
|
||||||
//),
|
|
||||||
onValueChange = {
|
onValueChange = {
|
||||||
if (it != callUri.value) {
|
if (it != callUri.value) {
|
||||||
callUri.value = it
|
callUri.value = it
|
||||||
|
|||||||
Reference in New Issue
Block a user