fix(UI): Fix repo dialog width on wide screen (#1078)

This commit is contained in:
Cuong-Tran 2025-07-23 16:28:33 +07:00 committed by GitHub
parent 888b0b0cbc
commit 865db12b78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,7 @@
package eu.kanade.presentation.more.settings.screen.browse.components
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material3.AlertDialog
import androidx.compose.material3.OutlinedTextField
@ -61,6 +62,7 @@ fun ExtensionRepoCreateDialog(
OutlinedTextField(
modifier = Modifier
.fillMaxWidth()
.focusRequester(focusRequester),
value = name,
onValueChange = { name = it },