From fb268ef9bb699bdc145066c7a5495db764eafe5e Mon Sep 17 00:00:00 2001 From: Nirali Canopas <105365731+cp-nirali-s@users.noreply.github.com> Date: Mon, 7 Oct 2024 19:27:48 +0530 Subject: [PATCH] Fixed pipeline failure error --- Data/Data/Extension/Timestamp+Extension.swift | 3 +-- Splito/UI/Home/Expense/AddExpenseView.swift | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Data/Data/Extension/Timestamp+Extension.swift b/Data/Data/Extension/Timestamp+Extension.swift index 0cb50717b..1a9e7901a 100644 --- a/Data/Data/Extension/Timestamp+Extension.swift +++ b/Data/Data/Extension/Timestamp+Extension.swift @@ -5,10 +5,9 @@ // Created by Amisha Italiya on 25/04/24. // -import Foundation import FirebaseFirestore -extension Timestamp: @retroactive Comparable { +extension Timestamp { public static func < (lhs: Timestamp, rhs: Timestamp) -> Bool { return lhs.dateValue() < rhs.dateValue() } diff --git a/Splito/UI/Home/Expense/AddExpenseView.swift b/Splito/UI/Home/Expense/AddExpenseView.swift index 2ce3e814c..40f6a19dd 100644 --- a/Splito/UI/Home/Expense/AddExpenseView.swift +++ b/Splito/UI/Home/Expense/AddExpenseView.swift @@ -259,7 +259,7 @@ struct DatePickerRow: View { private struct ExpenseDetailRowWithBtn: View { let IMAGE_HEIGHT: CGFloat = 26 - + let name: String let subtitle: String var memberProfileUrls: [String] = []