Update ktlint to 1.5.0.

This commit is contained in:
jeffrey-signal
2025-12-05 09:48:22 -06:00
committed by GitHub
parent cc381513ef
commit 109fc7f1fa
24 changed files with 1254 additions and 385 deletions

View File

@@ -178,12 +178,10 @@ class ChatColors(
}
@JvmStatic
fun forGradient(id: Id, linearGradient: LinearGradient): ChatColors =
ChatColors(id, linearGradient, null)
fun forGradient(id: Id, linearGradient: LinearGradient): ChatColors = ChatColors(id, linearGradient, null)
@JvmStatic
fun forColor(id: Id, @ColorInt color: Int): ChatColors =
ChatColors(id, null, color)
fun forColor(id: Id, @ColorInt color: Int): ChatColors = ChatColors(id, null, color)
}
sealed class Id(val longValue: Long) : Parcelable {