From 47bfecdf155a9e81042b40f9d8c6be875c84b6e8 Mon Sep 17 00:00:00 2001 From: Alpar Szotyori Date: Thu, 19 Oct 2023 17:51:05 +0200 Subject: [PATCH] feat(capture-sdk): Update IBAN detected success color to match final Android UI design The previous success color was taken from the iOS draft UI design. PIA-4510 --- .../net/gini/android/capture/camera/CameraFragmentImpl.java | 2 +- .../main/res/drawable/gc_on_device_iban_detected_background.xml | 2 +- capture-sdk/sdk/src/main/res/values/colors.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/capture-sdk/sdk/src/main/java/net/gini/android/capture/camera/CameraFragmentImpl.java b/capture-sdk/sdk/src/main/java/net/gini/android/capture/camera/CameraFragmentImpl.java index bc2dd6ed89..bb2d75581e 100644 --- a/capture-sdk/sdk/src/main/java/net/gini/android/capture/camera/CameraFragmentImpl.java +++ b/capture-sdk/sdk/src/main/java/net/gini/android/capture/camera/CameraFragmentImpl.java @@ -1805,7 +1805,7 @@ private void showIBANsDetectedOnScreen(List ibans) { mImageFrame.setImageTintList(ColorStateList.valueOf( ContextCompat.getColor( mFragment.getActivity(), - R.color.gc_success_02 + R.color.gc_success_05 ) ) ); diff --git a/capture-sdk/sdk/src/main/res/drawable/gc_on_device_iban_detected_background.xml b/capture-sdk/sdk/src/main/res/drawable/gc_on_device_iban_detected_background.xml index 649b646a77..1268171110 100644 --- a/capture-sdk/sdk/src/main/res/drawable/gc_on_device_iban_detected_background.xml +++ b/capture-sdk/sdk/src/main/res/drawable/gc_on_device_iban_detected_background.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/capture-sdk/sdk/src/main/res/values/colors.xml b/capture-sdk/sdk/src/main/res/values/colors.xml index d1a0260122..8f72dd0709 100644 --- a/capture-sdk/sdk/src/main/res/values/colors.xml +++ b/capture-sdk/sdk/src/main/res/values/colors.xml @@ -22,7 +22,7 @@ #BFBFBF #09B523 - #078319 + #32D74B #D0ECD4 #DEEEE1 #048016