Skip to content

Commit

Permalink
Change AutoDiscoveryResultView to expand when configuration is untrusted
Browse files Browse the repository at this point in the history
  • Loading branch information
wmontwe committed Nov 8, 2023
1 parent cde467e commit 1b77851
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ internal fun AutoDiscoveryResultView(
onEditConfigurationClick: () -> Unit,
modifier: Modifier = Modifier,
) {
val expanded = remember { mutableStateOf(false) }
val expanded = remember {
mutableStateOf(settings?.isTrusted?.not() ?: false)
}

Column(
modifier = modifier,
Expand Down

0 comments on commit 1b77851

Please sign in to comment.