Skip to content

Commit c191c5e

Browse files
committed
[bd3f643] Internal Code Change
1 parent 6b55b13 commit c191c5e

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ allprojects {
1313
}
1414
}
1515

16-
implementation("com.github.Kyant0:m3color:2023.12.2")
16+
implementation("com.github.Kyant0:m3color:2024.1")
1717
```
1818

1919
## Use with Compose M3

m3color/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = 'com.kyant'
7-
version = '2023.12.2'
7+
version = '2024.1'
88

99
sourceCompatibility = JavaVersion.VERSION_17
1010
targetCompatibility = JavaVersion.VERSION_17
@@ -25,7 +25,7 @@ afterEvaluate {
2525
maven(MavenPublication) {
2626
groupId = 'com.kyant'
2727
artifactId = 'm3color'
28-
version = '2023.12.2'
28+
version = '2024.1'
2929
from components.java
3030
}
3131
}

m3color/src/main/java/com/kyant/m3color/dynamiccolor/ContrastCurve.java

-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package com.kyant.m3color.dynamiccolor;
1818

19-
import androidx.annotation.NonNull;
2019
import com.kyant.m3color.utils.MathUtils;
2120

2221
/**
@@ -60,7 +59,6 @@ public ContrastCurve(double low, double normal, double medium, double high) {
6059
* is the highest.
6160
* @return The value. For contrast ratios, a number between 1.0 and 21.0.
6261
*/
63-
@NonNull
6462
public double get(double contrastLevel) {
6563
if (contrastLevel <= -1.0) {
6664
return this.low;

m3color/src/main/java/com/kyant/m3color/dynamiccolor/ToneDeltaPair.java

-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public DynamicColor getRoleB() {
8888
return roleB;
8989
}
9090

91-
@NonNull
9291
public double getDelta() {
9392
return delta;
9493
}
@@ -98,7 +97,6 @@ public TonePolarity getPolarity() {
9897
return polarity;
9998
}
10099

101-
@NonNull
102100
public boolean getStayTogether() {
103101
return stayTogether;
104102
}

0 commit comments

Comments
 (0)