Skip to content

Commit

Permalink
Fix: Duplicate annotation classes (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordond authored Oct 2, 2023
1 parent c19d618 commit 6cd0964
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*/
package androidx.palette.graphics

import androidx.annotation.ColorInt
import androidx.compose.ui.geometry.Rect
import androidx.compose.ui.graphics.ImageBitmap
import androidx.palette.graphics.Palette.Builder
import com.kmpalette.palette.internal.ColorCutQuantizer
import com.kmpalette.palette.internal.annotation.ColorInt
import com.kmpalette.palette.internal.scale
import com.kmpalette.palette.internal.utils.ColorUtils
import dev.drewhamilton.poko.Poko
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.annotation
package com.kmpalette.palette.internal.annotation

@Retention(AnnotationRetention.BINARY)
@Target(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.annotation
package com.kmpalette.palette.internal.annotation

/**
* Denotes that the annotated element should be a float or double in the given range
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.annotation
package com.kmpalette.palette.internal.annotation

@Retention(AnnotationRetention.BINARY)
@Target(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.kmpalette.palette.internal.utils

import androidx.annotation.ColorInt
import androidx.annotation.FloatRange
import androidx.annotation.IntRange
import com.kmpalette.palette.internal.annotation.ColorInt
import com.kmpalette.palette.internal.annotation.FloatRange
import com.kmpalette.palette.internal.annotation.IntRange
import kotlin.math.abs
import kotlin.math.max
import kotlin.math.min
Expand Down

0 comments on commit 6cd0964

Please sign in to comment.