From 3153c0f0d9c7565d58d3ab796313725294854ab2 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Thu, 12 Jan 2023 14:39:24 +0200 Subject: [PATCH] Update feedback reporting service configuration --- ElementX/Sources/Application/AppSettings.swift | 3 +-- ElementX/Sources/Screens/BugReport/BugReportViewModel.swift | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ElementX/Sources/Application/AppSettings.swift b/ElementX/Sources/Application/AppSettings.swift index 9e3873cd7..8f498f7ec 100644 --- a/ElementX/Sources/Application/AppSettings.swift +++ b/ElementX/Sources/Application/AppSettings.swift @@ -76,9 +76,8 @@ final class AppSettings: ObservableObject { let bugReportServiceBaseURL = URL(staticString: "https://riot.im/bugreports") let bugReportSentryURL = URL(staticString: "https://f39ac49e97714316965b777d9f3d6cd8@sentry.tools.element.io/44") // Use the name allocated by the bug report server - let bugReportApplicationId = "riot-ios" + let bugReportApplicationId = "element-x-ios" let bugReportUISIId = "element-auto-uisi" - let bugReportGHLabels = ["Element-X"] // MARK: - Analytics diff --git a/ElementX/Sources/Screens/BugReport/BugReportViewModel.swift b/ElementX/Sources/Screens/BugReport/BugReportViewModel.swift index 260b70db7..3f4a75acf 100644 --- a/ElementX/Sources/Screens/BugReport/BugReportViewModel.swift +++ b/ElementX/Sources/Screens/BugReport/BugReportViewModel.swift @@ -56,7 +56,7 @@ class BugReportViewModel: BugReportViewModelType, BugReportViewModelProtocol { let result = try await bugReportService.submitBugReport(text: context.reportText, includeLogs: context.sendingLogsEnabled, includeCrashLog: true, - githubLabels: ServiceLocator.shared.settings.bugReportGHLabels, + githubLabels: [], files: []) MXLog.info("SubmitBugReport succeeded, result: \(result.reportUrl)") callback?(.submitFinished)