Allow empty description if GitHub issue is not empty

This commit is contained in:
bxdxnn
2026-08-21 08:46:11 +00:00
parent 2b3aeee1c6
commit 7a3074af20
@@ -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