From 53435e92b4e56d158cd5fe5354f142d9c45d739d Mon Sep 17 00:00:00 2001 From: MFlisar Date: Wed, 24 Apr 2024 19:17:24 +0200 Subject: [PATCH] demo --- .../composedialogs/demo/demos/ProgressDemos.kt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/demo/src/main/java/com/michaelflisar/composedialogs/demo/demos/ProgressDemos.kt b/demo/src/main/java/com/michaelflisar/composedialogs/demo/demos/ProgressDemos.kt index 0009e76..0c71fb5 100644 --- a/demo/src/main/java/com/michaelflisar/composedialogs/demo/demos/ProgressDemos.kt +++ b/demo/src/main/java/com/michaelflisar/composedialogs/demo/demos/ProgressDemos.kt @@ -38,7 +38,9 @@ private fun RowScope.DemoDialogProgress1(style: DialogStyle, icon: (@Composable if (state.showing) { DialogProgress( state = state, - label = "Working...", + content = { + Text("Working...") + }, progressStyle = DialogProgress.Style.Indeterminate(linear = true), icon = icon, title = { Text("Progress Dialog") }, @@ -70,7 +72,9 @@ private fun RowScope.DemoDialogProgress2(style: DialogStyle, icon: (@Composable if (state.showing) { DialogProgress( state = state, - label = "Working...", + content = { + Text("Working...") + }, progressStyle = DialogProgress.Style.Indeterminate(linear = false), icon = icon, title = { Text("Progress Dialog") }, @@ -131,7 +135,9 @@ private fun RowScope.DemoDialogProgress3(style: DialogStyle, icon: (@Composable } DialogProgress( state = state, - label = label, + content = { + Text("Working...") + }, progressStyle = progressStyle, icon = iconToShow, title = { Text("Progress Dialog") },