Skip to content

Commit

Permalink
Set button color style in delete bottom sheet dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Feb 6, 2024
1 parent dcb529c commit 1d3ee00
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import org.hisp.dhis.mobile.ui.designsystem.component.BottomSheetShell
import org.hisp.dhis.mobile.ui.designsystem.component.Button
import org.hisp.dhis.mobile.ui.designsystem.component.ButtonBlock
import org.hisp.dhis.mobile.ui.designsystem.component.ButtonStyle
import org.hisp.dhis.mobile.ui.designsystem.component.ColorStyle
import org.hisp.dhis.mobile.ui.designsystem.theme.SurfaceColor

class
Expand Down Expand Up @@ -80,6 +81,7 @@ DeleteBottomSheetDialog(
)
},
text = mainButtonText,
colorStyle = ColorStyle.ERROR,
onClick = {
onMainButtonClick
},
Expand All @@ -92,8 +94,12 @@ DeleteBottomSheetDialog(
onDismiss = {
dismiss()
},
content = {
// no-op
},
showSectionDivider = false
)
}
}
}
}
}

0 comments on commit 1d3ee00

Please sign in to comment.