File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
BenchmarkTests/Runner/Scenarios/SessionReplay/SessionReplaySwiftUI Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,10 @@ private struct DatadogMonitor: CatalogSwiftUI.DatadogMonitor {
82
82
83
83
extension TextAndInputPrivacyLevel {
84
84
fileprivate init ? ( _ text: CatalogSwiftUI . TextPrivacyLevel ? ) {
85
- guard let text else { return nil }
85
+ guard let text else {
86
+ return nil
87
+ }
88
+
86
89
switch text {
87
90
case . maskSensitiveInputs:
88
91
self = . maskSensitiveInputs
@@ -96,7 +99,10 @@ extension TextAndInputPrivacyLevel {
96
99
97
100
extension ImagePrivacyLevel {
98
101
fileprivate init ? ( _ image: CatalogSwiftUI . ImagePrivacyLevel ? ) {
99
- guard let image else { return nil }
102
+ guard let image else {
103
+ return nil
104
+ }
105
+
100
106
switch image {
101
107
case . maskNonBundledOnly:
102
108
self = . maskNonBundledOnly
@@ -110,7 +116,10 @@ extension ImagePrivacyLevel {
110
116
111
117
extension TouchPrivacyLevel {
112
118
fileprivate init ? ( _ touch: CatalogSwiftUI . TouchPrivacyLevel ? ) {
113
- guard let touch else { return nil }
119
+ guard let touch else {
120
+ return nil
121
+ }
122
+
114
123
switch touch {
115
124
case . show:
116
125
self = . show
You can’t perform that action at this time.
0 commit comments