Skip to content

Commit

Permalink
resolve duplicate code from merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
phantumcode committed Nov 29, 2023
1 parent 28f3899 commit b1539c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
14 changes: 0 additions & 14 deletions HostApp/HostApp/Views/LivenessResultContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,6 @@ struct LivenessResultContentView: View {
.background(result.valueBackgroundColor)
.cornerRadius(8)
}

if !result.isLive {
steps()
.padding()
.background(
Rectangle()
.foregroundColor(
.dynamicColors(
light: .hex("#ECECEC"),
dark: .darkGray
)
)
.cornerRadius(6))
}

if let image = result.auditImage {
Image(uiImage: .init(data: image) ?? UIImage())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,6 @@ struct LivenessResultContentView: View {
.background(result.valueBackgroundColor)
.cornerRadius(8)
}

if !result.isLive {
steps()
.padding()
.background(
Rectangle()
.foregroundColor(
.dynamicColors(
light: .hex("#ECECEC"),
dark: .darkGray
)
)
.cornerRadius(6))
}

if let image = result.auditImage {
Image(uiImage: .init(data: image) ?? UIImage())
Expand Down

0 comments on commit b1539c8

Please sign in to comment.