From a037fb548740e4e9b82fc80a75387e7896ad6143 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 28 Sep 2023 10:18:20 +0200 Subject: [PATCH] Updated away color --- app/src/main/res/drawable/led_away.xml | 2 +- app/src/main/res/layout/contact_fragment.xml | 2 +- app/src/main/res/layout/history_contact_fragment.xml | 2 +- app/src/main/res/values/colors.xml | 2 -- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/drawable/led_away.xml b/app/src/main/res/drawable/led_away.xml index b9df77ee1..cb3df8caf 100644 --- a/app/src/main/res/drawable/led_away.xml +++ b/app/src/main/res/drawable/led_away.xml @@ -1,5 +1,5 @@ - + diff --git a/app/src/main/res/layout/contact_fragment.xml b/app/src/main/res/layout/contact_fragment.xml index 0e8aa158c..97b2cb27f 100644 --- a/app/src/main/res/layout/contact_fragment.xml +++ b/app/src/main/res/layout/contact_fragment.xml @@ -145,7 +145,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@{viewModel.contact.lastPresenceInfo, default=@string/friend_presence_status_online}" - android:textColor="@{viewModel.contact.presenceStatus == ConsolidatedPresence.Online ? @color/green_success_500 : @color/orange_away, default=@color/green_success_500}" + android:textColor="@{viewModel.contact.presenceStatus == ConsolidatedPresence.Online ? @color/green_success_500 : @color/orange_warning_600, default=@color/green_success_500}" android:textSize="14sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/history_contact_fragment.xml b/app/src/main/res/layout/history_contact_fragment.xml index 9cec0ab32..a2299451f 100644 --- a/app/src/main/res/layout/history_contact_fragment.xml +++ b/app/src/main/res/layout/history_contact_fragment.xml @@ -131,7 +131,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@{viewModel.callLogModel.avatarModel.lastPresenceInfo, default=@string/friend_presence_status_online}" - android:textColor="@{viewModel.callLogModel.avatarModel.presenceStatus == ConsolidatedPresence.Online ? @color/green_success_500 : @color/orange_away, default=@color/green_success_500}" + android:textColor="@{viewModel.callLogModel.avatarModel.presenceStatus == ConsolidatedPresence.Online ? @color/green_success_500 : @color/orange_warning_600, default=@color/green_success_500}" android:textSize="14sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 54ec2b533..21133ae3f 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -39,6 +39,4 @@ #4AA8FF #DBB820 - - #FFA645 \ No newline at end of file