Skip to content

Commit

Permalink
Fixed placeholder alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
sirekanian committed Dec 31, 2023
1 parent 51050a1 commit ca6f112
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.alpha
import androidx.compose.ui.focus.FocusRequester
import androidx.compose.ui.focus.focusRequester
import androidx.compose.ui.platform.LocalContext
Expand Down Expand Up @@ -114,7 +115,7 @@ fun AddServerContent(router: Router) {
.padding(16.dp, 24.dp, 16.dp, 8.dp)
.focusRequester(focusRequester),
label = { Text("Management API URL") },
placeholder = { Text("https://xx.xx.xx.xx:xxx/xxxxx") },
placeholder = { Text("https://xx.xx.xx.xx:xxx/xxxxx", Modifier.alpha(0.38f)) },
isError = state.error.isNotEmpty(),
supportingText = { Text(state.error) },
maxLines = 4,
Expand Down

0 comments on commit ca6f112

Please sign in to comment.