mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user