Skip to content

Commit 6683600

Browse files
committed
Fix linter errors
1 parent 09a0f00 commit 6683600

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

BenchmarkTests/Runner/Scenarios/SessionReplay/SessionReplaySwiftUI/SessionReplaySwiftUIScenario.swift

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ private struct DatadogMonitor: CatalogSwiftUI.DatadogMonitor {
8282

8383
extension TextAndInputPrivacyLevel {
8484
fileprivate init?(_ text: CatalogSwiftUI.TextPrivacyLevel?) {
85-
guard let text else { return nil }
85+
guard let text else {
86+
return nil
87+
}
88+
8689
switch text {
8790
case .maskSensitiveInputs:
8891
self = .maskSensitiveInputs
@@ -96,7 +99,10 @@ extension TextAndInputPrivacyLevel {
9699

97100
extension ImagePrivacyLevel {
98101
fileprivate init?(_ image: CatalogSwiftUI.ImagePrivacyLevel?) {
99-
guard let image else { return nil }
102+
guard let image else {
103+
return nil
104+
}
105+
100106
switch image {
101107
case .maskNonBundledOnly:
102108
self = .maskNonBundledOnly
@@ -110,7 +116,10 @@ extension ImagePrivacyLevel {
110116

111117
extension TouchPrivacyLevel {
112118
fileprivate init?(_ touch: CatalogSwiftUI.TouchPrivacyLevel?) {
113-
guard let touch else { return nil }
119+
guard let touch else {
120+
return nil
121+
}
122+
114123
switch touch {
115124
case .show:
116125
self = .show

0 commit comments

Comments
 (0)