Skip to content

Commit

Permalink
demo
Browse files Browse the repository at this point in the history
  • Loading branch information
MFlisar committed Apr 24, 2024
1 parent 431a252 commit 53435e9
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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") },
Expand Down Expand Up @@ -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") },
Expand Down Expand Up @@ -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") },
Expand Down

0 comments on commit 53435e9

Please sign in to comment.