Fix moar ktlint issues

This commit is contained in:
Benoit Marty 2024-01-11 09:41:14 +01:00 committed by Benoit Marty
parent a831f05f6e
commit 5d086ad82d
528 changed files with 146 additions and 629 deletions

View file

@ -17,5 +17,7 @@
package io.element.android.libraries.textcomposer.components
internal enum class FormattingOptionState {
Default, Selected, Disabled
Default,
Selected,
Disabled
}

View file

@ -115,7 +115,8 @@ internal fun VoiceMessagePreview(
}
private enum class PlayerButtonType {
Play, Pause
Play,
Pause
}
@Composable

View file

@ -33,7 +33,6 @@ class MentionSpan(
val endPadding: Int,
val typeface: Typeface = Typeface.DEFAULT,
) : ReplacementSpan() {
companion object {
private const val MAX_LENGTH = 20
}

View file

@ -28,7 +28,6 @@ import org.robolectric.RobolectricTestRunner
@RunWith(RobolectricTestRunner::class)
class MentionSpanProviderTest {
@JvmField @Rule
val warmUpRule = WarmUpRule()