mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Make BugReportService reportUrl optional (#4195)
This commit is contained in:
@@ -140,7 +140,7 @@ class BugReportService: NSObject, BugReportServiceProtocol {
|
||||
decoder.keyDecodingStrategy = .convertFromSnakeCase
|
||||
let uploadResponse = try decoder.decode(SubmitBugReportResponse.self, from: data)
|
||||
|
||||
if !uploadResponse.reportUrl.isEmpty {
|
||||
if !(uploadResponse.reportUrl?.isEmpty ?? false) {
|
||||
lastCrashEventID = nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user