Fixes the post button disappeering when the Relay Settings top label is too large

pull/979/head
Vitor Pamplona 2024-07-15 15:34:08 -04:00
rodzic edb834db38
commit 347b16ee8b
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -40,6 +40,7 @@ import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.Dialog
@ -112,6 +113,8 @@ fun AllRelayListView(
Text(
text = stringRes(R.string.relay_settings),
modifier = Modifier.weight(1f),
textAlign = TextAlign.Center,
style = MaterialTheme.typography.titleLarge,
overflow = TextOverflow.Ellipsis,
maxLines = 1,