Ktlint for all modules + run it

This commit is contained in:
Benoit Marty 2022-12-12 17:48:07 +01:00
parent d00d934aa0
commit c8b344644b
29 changed files with 80 additions and 95 deletions

View file

@ -46,7 +46,7 @@ private val LightColorScheme = lightColorScheme(
onTertiary = Color.White,
onBackground = Color(0xFF1C1B1F),
onSurface = Color(0xFF1C1B1F),
*/
*/
)
@Suppress("CompositionLocalAllowlist")
val LocalIsDarkTheme = compositionLocalOf<Boolean> { error("Not defined") }
@ -87,5 +87,3 @@ fun ElementXTheme(
)
}
}

View file

@ -46,7 +46,7 @@ val Typography = Typography(
lineHeight = 16.sp,
letterSpacing = 0.5.sp
)
*/
*/
)
object ElementTextStyles {

View file

@ -58,7 +58,6 @@ fun ClickableLinkText(
uriHandler.openUri(linkAnnotations.first().item)
}
}
}
}
Text(
@ -71,4 +70,3 @@ fun ClickableLinkText(
inlineContent = inlineContent
)
}

View file

@ -43,8 +43,8 @@ fun ConfirmationDialog(
onClick = {
onDismiss()
onSubmitClicked()
})
{
}
) {
Text(submitText)
}
}