From aef4cce3e77687c0be1ab13d7e6a3729fa64722f Mon Sep 17 00:00:00 2001 From: ariskotsomitopoulos Date: Tue, 5 Apr 2022 14:51:38 +0300 Subject: [PATCH] Format code ordering --- .../vector/app/features/rageshake/BugReporter.kt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt b/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt index 4a62d62e34..bf007ea1b0 100755 --- a/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt +++ b/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt @@ -258,9 +258,9 @@ class BugReporter @Inject constructor( ReportType.BUG_REPORT -> "[Element] $bugDescription" ReportType.SUGGESTION -> "[Element] [Suggestion] $bugDescription" ReportType.SPACE_BETA_FEEDBACK -> "[Element] [spaces-feedback] $bugDescription" + ReportType.THREADS_BETA_FEEDBACK -> "[Element] [threads-feedback] $bugDescription" ReportType.AUTO_UISI_SENDER, ReportType.AUTO_UISI -> bugDescription - ReportType.THREADS_BETA_FEEDBACK -> "[Element] [threads-feedback] $bugDescription" } // build the multi part request @@ -336,22 +336,22 @@ class BugReporter @Inject constructor( builder.addFormDataPart("label", "[Element]") when (reportType) { - ReportType.BUG_REPORT -> { + ReportType.BUG_REPORT -> { /* nop */ } - ReportType.SUGGESTION -> builder.addFormDataPart("label", "[Suggestion]") - ReportType.SPACE_BETA_FEEDBACK -> builder.addFormDataPart("label", "spaces-feedback") - ReportType.AUTO_UISI -> { + ReportType.SUGGESTION -> builder.addFormDataPart("label", "[Suggestion]") + ReportType.SPACE_BETA_FEEDBACK -> builder.addFormDataPart("label", "spaces-feedback") + ReportType.THREADS_BETA_FEEDBACK -> builder.addFormDataPart("label", "threads-feedback") + ReportType.AUTO_UISI -> { builder.addFormDataPart("label", "Z-UISI") builder.addFormDataPart("label", "android") builder.addFormDataPart("label", "uisi-recipient") } - ReportType.AUTO_UISI_SENDER -> { + ReportType.AUTO_UISI_SENDER -> { builder.addFormDataPart("label", "Z-UISI") builder.addFormDataPart("label", "android") builder.addFormDataPart("label", "uisi-sender") } - ReportType.THREADS_BETA_FEEDBACK -> builder.addFormDataPart("label", "threads-feedback") } if (getCrashFile().exists()) {