mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
fix hsl
This commit is contained in:
parent
7047f803eb
commit
3bae26ef66
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ public class ThemeUtils {
|
|||
int primaryColor = primaryColor();
|
||||
float[] hsl = colorToHSL(primaryColor);
|
||||
|
||||
return (hsl[2] / 100) <= 0.5;
|
||||
return hsl[2] <= 0.5;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue