|
@@ -16,6 +16,7 @@ import androidx.compose.material3.TopAppBarDefaults
|
|
|
import androidx.compose.material3.surfaceColorAtElevation
|
|
import androidx.compose.material3.surfaceColorAtElevation
|
|
|
import androidx.compose.runtime.Composable
|
|
import androidx.compose.runtime.Composable
|
|
|
import androidx.compose.ui.Modifier
|
|
import androidx.compose.ui.Modifier
|
|
|
|
|
+import androidx.compose.ui.text.style.TextOverflow
|
|
|
import androidx.compose.ui.unit.dp
|
|
import androidx.compose.ui.unit.dp
|
|
|
|
|
|
|
|
@Composable
|
|
@Composable
|
|
@@ -27,7 +28,7 @@ fun DialogToolbar(
|
|
|
isLoading: Boolean,
|
|
isLoading: Boolean,
|
|
|
) {
|
|
) {
|
|
|
TopAppBar(
|
|
TopAppBar(
|
|
|
- title = { Text(title) },
|
|
|
|
|
|
|
+ title = { Text(title, maxLines = 1, overflow = TextOverflow.Ellipsis) },
|
|
|
navigationIcon = {
|
|
navigationIcon = {
|
|
|
IconButton({ onCloseClick() }) { Icon(Icons.Default.Close, null) }
|
|
IconButton({ onCloseClick() }) { Icon(Icons.Default.Close, null) }
|
|
|
},
|
|
},
|