Merge pull request #7497 from bxdxnn/misc/allow-empty-desc

Allow empty problem description if the GitHub issue number is present for rageshakes
This commit is contained in:
Benoit Marty
2026-08-21 12:06:23 +02:00
committed by GitHub
@@ -86,7 +86,7 @@ class BugReportPresenter(
fun handleEvent(event: BugReportEvents) {
when (event) {
BugReportEvents.SendBugReport -> {
if (formState.value.description.length < 10) {
if (formState.value.description.length < 10 && formState.value.ghIssueNumber == null) {
sendingAction.value = AsyncAction.Failure(BugReportFormError.DescriptionTooShort)
} else {
sendingAction.value = AsyncAction.Loading