From bfb5415d63ee018d1f8f6bb28b4c801b78f269dd Mon Sep 17 00:00:00 2001 From: giorgi-abashidze <52792051+giorgi-abashidze@users.noreply.github.com> Date: Tue, 7 Jul 2020 02:55:57 +0400 Subject: [PATCH] 07.07.2020 --- .../src/main/java/ga/progress_button_card/Default.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/progress_button_card/src/main/java/ga/progress_button_card/Default.java b/progress_button_card/src/main/java/ga/progress_button_card/Default.java index 73a9469..f1db169 100644 --- a/progress_button_card/src/main/java/ga/progress_button_card/Default.java +++ b/progress_button_card/src/main/java/ga/progress_button_card/Default.java @@ -210,8 +210,7 @@ public void notLoading(){ this.setClickable(true); refreshDrawableState(); } - - + //if color is white or not public boolean isWhite(int color){ double rgb = (Color.red(color) + Color.green(color) + Color.blue(color));