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:
Stefan Ceriu
2024-01-23 10:13:48 +02:00
committed by GitHub
parent dd28261e1f
commit 31286c75fc
38 changed files with 541 additions and 143 deletions
@@ -19,6 +19,7 @@ import UIKit
enum BugReportScreenViewModelAction {
case cancel
case viewLogs
case submitStarted(progressPublisher: CurrentValuePublisher<Double, Never>)
case submitFinished
case submitFailed(error: Error)
@@ -42,4 +43,5 @@ enum BugReportScreenViewAction {
case submit
case removeScreenshot
case attachScreenshot(UIImage)
case viewLogs
}