Media: Clean after pr reviews
This commit is contained in:
parent
84500d41eb
commit
d273dd00ff
6 changed files with 17 additions and 31 deletions
|
|
@ -95,7 +95,7 @@ sealed interface ProgressDialogType {
|
|||
private fun ProgressDialogContent(
|
||||
modifier: Modifier = Modifier,
|
||||
text: String? = null,
|
||||
isCancellable: Boolean = true,
|
||||
isCancellable: Boolean = false,
|
||||
onCancelClicked: () -> Unit = {},
|
||||
progressIndicator: @Composable () -> Unit = {
|
||||
CircularProgressIndicator(
|
||||
|
|
@ -145,6 +145,6 @@ internal fun ProgressDialogPreview() = ElementThemedPreview { ContentToPreview()
|
|||
@Composable
|
||||
private fun ContentToPreview() {
|
||||
DialogPreview {
|
||||
ProgressDialogContent(text = "test dialog content")
|
||||
ProgressDialogContent(text = "test dialog content", isCancellable = true)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue