mirror of
https://github.com/element-hq/element-android
synced 2024-11-23 18:05:36 +03:00
2 new enums
This commit is contained in:
parent
98df733257
commit
b39caeb04d
3 changed files with 5 additions and 3 deletions
|
@ -19,6 +19,7 @@ import org.commonmark.node.CustomBlock
|
|||
|
||||
class DisplayMaths(private val delimiter: DisplayDelimiter) : CustomBlock() {
|
||||
enum class DisplayDelimiter {
|
||||
DOUBLE_DOLLAR, SQUARE_BRACKET_ESCAPED
|
||||
DOUBLE_DOLLAR,
|
||||
SQUARE_BRACKET_ESCAPED
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,8 @@ import org.commonmark.node.Delimited
|
|||
|
||||
class InlineMaths(private val delimiter: InlineDelimiter) : CustomNode(), Delimited {
|
||||
enum class InlineDelimiter {
|
||||
SINGLE_DOLLAR, ROUND_BRACKET_ESCAPED
|
||||
SINGLE_DOLLAR,
|
||||
ROUND_BRACKET_ESCAPED
|
||||
}
|
||||
|
||||
override fun getOpeningDelimiter(): String {
|
||||
|
|
|
@ -160,7 +160,7 @@ Formatter\.formatShortFileSize===1
|
|||
# android\.text\.TextUtils
|
||||
|
||||
### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt
|
||||
enum class===114
|
||||
enum class===116
|
||||
|
||||
### Do not import temporary legacy classes
|
||||
import org.matrix.android.sdk.internal.legacy.riot===3
|
||||
|
|
Loading…
Reference in a new issue