Skip to content

Commit

Permalink
swift format
Browse files Browse the repository at this point in the history
  • Loading branch information
netbe committed Oct 17, 2024
1 parent 90e5c1a commit b44f062
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,25 +126,27 @@ public enum CallQualitySurveyReview {

public enum IgnoreReason: String {
case callTooShort = "call-too-short"
case muted = "muted"
case muted
}

var segmentation: Set<SegmentationEntry> {
switch self {
case .notDisplayed(let reason, let duration):
return [
[
.callLabel("not-displayed"),
.duration(duration),
.ignoreReason(reason.rawValue)
]

case .answered(let score, let duration):
return [
[
.callLabel("answered"),
.score(score),
.duration(duration)
]

case .dismissed(let duration):
return [
[
.callLabel("dismissed"),
.duration(duration)
]
Expand Down

0 comments on commit b44f062

Please sign in to comment.