File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
sentry-compose/src/androidMain/kotlin/io/sentry/compose Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 44
55### Features
66
7- - Add Compose user feedback button ([ #4559 ] ( https://github.com/getsentry/sentry-java/pull/4559 ) )
7+ - Add ` SentryUserFeedbackButton ` Composable ([ #4559 ] ( https://github.com/getsentry/sentry-java/pull/4559 ) )
88
99### Fixes
1010
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import io.sentry.SentryFeedbackOptions
1919public fun SentryUserFeedbackButton (
2020 modifier : Modifier = Modifier ,
2121 configurator : SentryFeedbackOptions .OptionsConfigurator ? = null,
22+ text : "Report a Bug ",
2223) {
2324 Button (modifier = modifier, onClick = { Sentry .showUserFeedbackDialog(configurator) }) {
2425 Row (
@@ -27,10 +28,10 @@ public fun SentryUserFeedbackButton(
2728 ) {
2829 Icon (
2930 painter = painterResource(id = R .drawable.sentry_user_feedback_compose_button_logo_24),
30- contentDescription = " Vector Icon " ,
31+ contentDescription = null ,
3132 )
3233 Spacer (Modifier .padding(horizontal = 4 .dp))
33- Text (text = " Report a Bug " )
34+ Text (text = text )
3435 }
3536 }
3637}
You can’t perform that action at this time.
0 commit comments