mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Ktlint for all modules + run it
This commit is contained in:
@@ -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(
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ val Typography = Typography(
|
||||
lineHeight = 16.sp,
|
||||
letterSpacing = 0.5.sp
|
||||
)
|
||||
*/
|
||||
*/
|
||||
)
|
||||
|
||||
object ElementTextStyles {
|
||||
|
||||
-2
@@ -58,7 +58,6 @@ fun ClickableLinkText(
|
||||
uriHandler.openUri(linkAnnotations.first().item)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Text(
|
||||
@@ -71,4 +70,3 @@ fun ClickableLinkText(
|
||||
inlineContent = inlineContent
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -43,8 +43,8 @@ fun ConfirmationDialog(
|
||||
onClick = {
|
||||
onDismiss()
|
||||
onSubmitClicked()
|
||||
})
|
||||
{
|
||||
}
|
||||
) {
|
||||
Text(submitText)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user