Skip to content

Improved Material Design compatibility - #38

Open
RafalZajfertMudita wants to merge 1 commit into
masterfrom
md-compatibility
Open

RafalZajfertMudita wants to merge 1 commit into
masterfrom
md-compatibility

Conversation

@RafalZajfertMudita

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread mmd-core/src/androidMain/kotlin/com/mudita/mmd/components/snackbar/SnackbarMMD.kt Outdated
modifier: Modifier = Modifier,
enabled: Boolean = true,
shape: Shape = ButtonDefaultsMMD.shape,
colors: ButtonColors = ButtonDefaultsMMD.buttonColors(),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use outlinedButtonColors() and outlinedButtonBorder(enabled) here, like in the other overload? Is there a reason for using different defaults?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! It should be the same as in the main OutlinedButtonMMD method. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants