I'm new to Kotlin Multiplatform Desktop development and I'm using Compose to build UI. I have one AlertDialog with custom, rounded background, problem is, it still has white corners which I can not remove for some reasons. The dialog:

[![](https://i.stack.imgur.com/NQve8.png)](https://i.stack.imgur.com/NQve8.png)

The code I've written to achieve this:

```
 AlertDialog(
        title = { Text("თქვენ ტოვებთ პროგრამას") },
        text = { Text("ნამდვილად გსურთ პროგრამიდან გასვლა?") },
        onDismissRequest = {},
        backgroundColor = Colors.DARKER_GRAY,
        contentColor = Colors.WHITE,
        shape = RoundedCornerShape(16.dp),
        confirmButton = {
            TextButton(onClick = onPositiveClick) {
                Text(text = "დიახ", color = Colors.RED)
            }
        },
        dismissButton = {
            TextButton(onClick = onNegativeClick) {
                Text(text = "არა", color = Colors.LIGHTER_GRAY)
            }
        },
        modifier = Modifier.defaultMinSize(300.dp).border(0.dp, Color.Transparent, RoundedCornerShape(0))
    )

```

Anyone has any idea how can I solve this? Thank You in advance.