Upgrade ktlint and add twitter compose rules.

This commit is contained in:
Alex Hart
2023-02-06 11:04:40 -04:00
committed by Greyson Parrelli
parent 52e9b31554
commit 605289aca4
174 changed files with 574 additions and 373 deletions

View File

@@ -35,7 +35,7 @@ data class FontManifest(
@JsonProperty("chinese-traditional") val chineseTraditional: FontScript?,
@JsonProperty("chinese-simplified") val chineseSimplified: FontScript?,
val arabic: FontScript?,
val japanese: FontScript?,
val japanese: FontScript?
)
/**

View File

@@ -91,7 +91,9 @@ object Fonts {
}
val fontDownloadKey = FontDownloadKey(
version, supportedScript, font
version,
supportedScript,
font
)
val taskInProgress = taskCache[fontDownloadKey]

View File

@@ -33,6 +33,6 @@ object TypefaceHelper {
SEMI_BOLD(600),
BOLD(700),
EXTRA_BOLD(800),
BLACK(900),
BLACK(900)
}
}