From fca1eea1c97c7d0635ac23e03e1018cfce8e898a Mon Sep 17 00:00:00 2001 From: Florian Griffon Date: Sun, 15 Dec 2024 17:51:56 +0000 Subject: [PATCH] contact-modal (#10) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Feat: contact-modal et refonte du contact-state pour la page de favori et possibilité de update les contacts. Aussi mis la composition page avec le service de contact, on évite de fetch dans la page directement Reviewed-on: https://git.gmoker.com/icing/G-EIP-700-TLS-7-1-eip-stephane.corbiere/pulls/10 Co-authored-by: Florian Griffon Co-committed-by: Florian Griffon --- .../android/app/src/debug/AndroidManifest.xml | 2 + .../android/app/src/main/AndroidManifest.xml | 2 + .../app/src/profile/AndroidManifest.xml | 2 + .../lib/features/composition/composition.dart | 61 +++-- .../lib/features/contacts/contact_page.dart | 2 +- .../features/contacts/contact_service.dart | 15 -- .../lib/features/contacts/contact_state.dart | 23 +- .../widgets/alphabet_scroll_page.dart | 145 +++++++++-- .../contacts/widgets/contact_modal.dart | 228 ++++++++++++++++++ dialer/lib/features/home/home_page.dart | 9 +- dialer/lib/widgets/contact_service.dart | 31 +++ dialer/pubspec.yaml | 1 + 12 files changed, 447 insertions(+), 74 deletions(-) delete mode 100644 dialer/lib/features/contacts/contact_service.dart create mode 100644 dialer/lib/features/contacts/widgets/contact_modal.dart create mode 100644 dialer/lib/widgets/contact_service.dart diff --git a/dialer/android/app/src/debug/AndroidManifest.xml b/dialer/android/app/src/debug/AndroidManifest.xml index 9d570eb..be93e62 100644 --- a/dialer/android/app/src/debug/AndroidManifest.xml +++ b/dialer/android/app/src/debug/AndroidManifest.xml @@ -1,6 +1,8 @@ + +