More cleanup on BugReportView.
This commit is contained in:
parent
1909ed9574
commit
f325ffad12
2 changed files with 27 additions and 7 deletions
|
|
@ -110,12 +110,14 @@ fun BugReportView(
|
|||
onCheckedChange = { eventSink(BugReportEvents.SetSendLog(it)) },
|
||||
enabled = isFormEnabled,
|
||||
title = stringResource(id = R.string.screen_bug_report_include_logs),
|
||||
subtitle = stringResource(id = R.string.screen_bug_report_logs_description),
|
||||
)
|
||||
PreferenceSwitch(
|
||||
isChecked = state.formState.canContact,
|
||||
onCheckedChange = { eventSink(BugReportEvents.SetCanContact(it)) },
|
||||
enabled = isFormEnabled,
|
||||
title = stringResource(id = R.string.screen_bug_report_contact_me)
|
||||
title = stringResource(id = R.string.screen_bug_report_contact_me_title),
|
||||
subtitle = stringResource(id = R.string.screen_bug_report_contact_me),
|
||||
)
|
||||
if (state.screenshotUri != null) {
|
||||
PreferenceSwitch(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue