From aefcb4841b7eaae76c0514c4c6cbea842b050b0d Mon Sep 17 00:00:00 2001 From: Valere Date: Wed, 12 May 2021 10:22:57 +0200 Subject: [PATCH] Cleaning --- .../features/rageshake/BugReportActivity.kt | 6 ----- .../app/features/rageshake/BugReporter.kt | 1 - .../app/features/rageshake/ReportType.kt | 23 +++++++++++++++++++ 3 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 vector/src/main/java/im/vector/app/features/rageshake/ReportType.kt diff --git a/vector/src/main/java/im/vector/app/features/rageshake/BugReportActivity.kt b/vector/src/main/java/im/vector/app/features/rageshake/BugReportActivity.kt index 4017a30519..2b7c3db490 100755 --- a/vector/src/main/java/im/vector/app/features/rageshake/BugReportActivity.kt +++ b/vector/src/main/java/im/vector/app/features/rageshake/BugReportActivity.kt @@ -34,12 +34,6 @@ import org.matrix.android.sdk.api.extensions.tryOrNull import timber.log.Timber import javax.inject.Inject -enum class ReportType { - BUG_REPORT, - SUGGESTION, - SPACE_BETA_FEEDBACK -} - /** * Form to send a bug report */ 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 6ef8bbca55..5202d78f1a 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 @@ -18,7 +18,6 @@ package im.vector.app.features.rageshake import android.annotation.SuppressLint import android.content.Context -import android.content.Intent import android.graphics.Bitmap import android.graphics.Canvas import android.os.Build diff --git a/vector/src/main/java/im/vector/app/features/rageshake/ReportType.kt b/vector/src/main/java/im/vector/app/features/rageshake/ReportType.kt new file mode 100644 index 0000000000..44682efb40 --- /dev/null +++ b/vector/src/main/java/im/vector/app/features/rageshake/ReportType.kt @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2021 New Vector Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package im.vector.app.features.rageshake + +enum class ReportType { + BUG_REPORT, + SUGGESTION, + SPACE_BETA_FEEDBACK +}