From 25832dccad6e447b54c43be2b1e566fd9565b34f Mon Sep 17 00:00:00 2001 From: NiraliSonani Date: Mon, 9 Dec 2024 18:49:39 +0530 Subject: [PATCH] Opened alert pop up at the correct place instead centre --- Splito/UI/Home/Expense/AddExpenseView.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Splito/UI/Home/Expense/AddExpenseView.swift b/Splito/UI/Home/Expense/AddExpenseView.swift index d28fb7ef..7d2420af 100644 --- a/Splito/UI/Home/Expense/AddExpenseView.swift +++ b/Splito/UI/Home/Expense/AddExpenseView.swift @@ -232,14 +232,14 @@ struct AddNoteImageFooterView: View { DatePickerView(date: $date) ImageAttachmentView(image: image, imageUrl: imageUrl, handleImageBtnTap: handleImageTap) + .confirmationDialog("", isPresented: $showImagePickerOptions, titleVisibility: .hidden) { + ImagePickerOptionsView(image: image, imageUrl: imageUrl, handleActionSelection: handleActionSelection) + } NoteButtonView(isNoteEmpty: isNoteEmpty, handleNoteBtnTap: handleNoteBtnTap) } .padding(.vertical, 12) .padding(.horizontal, 16) - .confirmationDialog("", isPresented: $showImagePickerOptions, titleVisibility: .hidden) { - ImagePickerOptionsView(image: image, imageUrl: imageUrl, handleActionSelection: handleActionSelection) - } } }