mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Fixes #734 - Add a "View logs" option to the report a problem screen
Move bug report and log viewer responsibility to a separate flow coordinator. Reuse it as a child coordinator in the authentication, userSessionFlow and settings flow coordinators.
This commit is contained in:
@@ -53,6 +53,8 @@ class BugReportScreenViewModel: BugReportScreenViewModelType, BugReportScreenVie
|
||||
case .cancel:
|
||||
uploadTask = nil
|
||||
actionsSubject.send(.cancel)
|
||||
case .viewLogs:
|
||||
actionsSubject.send(.viewLogs)
|
||||
case .submit:
|
||||
state.shouldDisableInteraction = true
|
||||
uploadTask = Task { await submitBugReport() }
|
||||
|
||||
Reference in New Issue
Block a user