diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-06-30 11:42:12 +0300 |
---|---|---|
committer | Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com> | 2020-06-30 13:58:19 +0300 |
commit | 5c0cdfe5e331e1270a12a75d1fd39155481dc798 (patch) | |
tree | 9e77a7478d7dd96b5ab4abd2d4cc9c06edd95a40 /app/src/main/java/it/niedermann/nextcloud/deck/util | |
parent | e909e029eb17f1b8b60cd2dcd3163f6876d1fbf4 (diff) |
#525 Adjust design to new style of Nextcloud app
FAB branding
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/util')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/util/ColorUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/util/ColorUtil.java b/app/src/main/java/it/niedermann/nextcloud/deck/util/ColorUtil.java index 4adf43b34..c1cd37135 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/util/ColorUtil.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/util/ColorUtil.java @@ -109,7 +109,7 @@ public final class ColorUtil { return ret; } - private static double getContrastRatio(@ColorInt int colorOne, @ColorInt int colorTwo) { + public static double getContrastRatio(@ColorInt int colorOne, @ColorInt int colorTwo) { final double lum1 = getLuminanace(colorOne); final double lum2 = getLuminanace(colorTwo); final double brightest = Math.max(lum1, lum2); |