Contact me added in Bug Report Screen (#1307)

* contact me added

* fixing tests
This commit is contained in:
Mauro
2023-07-12 10:20:51 +02:00
committed by GitHub
parent 98e7489aaf
commit c573892954
26 changed files with 59 additions and 38 deletions
@@ -38,7 +38,7 @@ class BugReportScreenViewModel: BugReportScreenViewModelType, BugReportScreenVie
self.userID = userID
self.deviceID = deviceID
let bindings = BugReportScreenViewStateBindings(reportText: "", sendingLogsEnabled: true)
let bindings = BugReportScreenViewStateBindings(reportText: "", sendingLogsEnabled: true, canContact: false)
super.init(initialViewState: BugReportScreenViewState(screenshot: screenshot,
bindings: bindings,
isModallyPresented: isModallyPresented))
@@ -84,6 +84,7 @@ class BugReportScreenViewModel: BugReportScreenViewModelType, BugReportScreenVie
text: context.reportText,
includeLogs: context.sendingLogsEnabled,
includeCrashLog: true,
canContact: context.canContact,
githubLabels: [],
files: files)