Skip to content

Commit

Permalink
[bd3f643] Internal Code Change
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyant0 committed Jan 3, 2024
1 parent 6b55b13 commit c191c5e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ allprojects {
}
}

implementation("com.github.Kyant0:m3color:2023.12.2")
implementation("com.github.Kyant0:m3color:2024.1")
```

## Use with Compose M3
Expand Down
4 changes: 2 additions & 2 deletions m3color/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = 'com.kyant'
version = '2023.12.2'
version = '2024.1'

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
Expand All @@ -25,7 +25,7 @@ afterEvaluate {
maven(MavenPublication) {
groupId = 'com.kyant'
artifactId = 'm3color'
version = '2023.12.2'
version = '2024.1'
from components.java
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.kyant.m3color.dynamiccolor;

import androidx.annotation.NonNull;
import com.kyant.m3color.utils.MathUtils;

/**
Expand Down Expand Up @@ -60,7 +59,6 @@ public ContrastCurve(double low, double normal, double medium, double high) {
* is the highest.
* @return The value. For contrast ratios, a number between 1.0 and 21.0.
*/
@NonNull
public double get(double contrastLevel) {
if (contrastLevel <= -1.0) {
return this.low;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ public DynamicColor getRoleB() {
return roleB;
}

@NonNull
public double getDelta() {
return delta;
}
Expand All @@ -98,7 +97,6 @@ public TonePolarity getPolarity() {
return polarity;
}

@NonNull
public boolean getStayTogether() {
return stayTogether;
}
Expand Down

0 comments on commit c191c5e

Please sign in to comment.