Fix a typo in Typography object constants KT-46243

This commit is contained in:
Ilya Gorbunov
2021-09-27 10:48:50 +03:00
committed by Space
parent cc934d9574
commit af5ec9d289
4 changed files with 36 additions and 2 deletions
+14 -2
View File
@@ -32,9 +32,11 @@ public object Typography {
/** The character © */
public const val copyright: Char = '\u00A9'
/** The character « */
public const val leftGuillemete: Char = '\u00AB'
@SinceKotlin("1.6")
public const val leftGuillemet: Char = '\u00AB'
/** The character » */
public const val rightGuillemete: Char = '\u00BB'
@SinceKotlin("1.6")
public const val rightGuillemet: Char = '\u00BB'
/** The character ® */
public const val registered: Char = '\u00AE'
/** The character ° */
@@ -87,4 +89,14 @@ public object Typography {
public const val lessOrEqual: Char = '\u2264'
/** The character ≥ */
public const val greaterOrEqual: Char = '\u2265'
/** The character « */
@Deprecated("This constant has a typo in the name. Use leftGuillemet instead.", ReplaceWith("Typography.leftGuillemet"))
@DeprecatedSinceKotlin("1.6")
public const val leftGuillemete: Char = '\u00AB'
/** The character » */
@Deprecated("This constant has a typo in the name. Use rightGuillemet instead.", ReplaceWith("Typography.rightGuillemet"))
@DeprecatedSinceKotlin("1.6")
public const val rightGuillemete: Char = '\u00BB'
}