From b1539c8d2e8c1a45d4b72b249e49fa94f48c731d Mon Sep 17 00:00:00 2001 From: Tuan Pham Date: Wed, 29 Nov 2023 13:14:17 -0600 Subject: [PATCH] resolve duplicate code from merge error --- .../HostApp/Views/LivenessResultContentView.swift | 14 -------------- .../Views/LivenessResultContentView.swift | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/HostApp/HostApp/Views/LivenessResultContentView.swift b/HostApp/HostApp/Views/LivenessResultContentView.swift index 5cd25d0a..8ebda4ff 100644 --- a/HostApp/HostApp/Views/LivenessResultContentView.swift +++ b/HostApp/HostApp/Views/LivenessResultContentView.swift @@ -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()) diff --git a/Tests/IntegrationTestApp/IntegrationTestApp/Views/LivenessResultContentView.swift b/Tests/IntegrationTestApp/IntegrationTestApp/Views/LivenessResultContentView.swift index a59b74d9..eb2cbbd0 100644 --- a/Tests/IntegrationTestApp/IntegrationTestApp/Views/LivenessResultContentView.swift +++ b/Tests/IntegrationTestApp/IntegrationTestApp/Views/LivenessResultContentView.swift @@ -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())