mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:30:43 +00:00
Enable detekt rule PreviewPublic and fix existing issues.
This commit is contained in:
@@ -28,7 +28,7 @@ import io.element.android.x.R
|
||||
|
||||
@Preview
|
||||
@Composable
|
||||
fun IconPreview(
|
||||
internal fun IconPreview(
|
||||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
Box(modifier = modifier) {
|
||||
@@ -39,7 +39,7 @@ fun IconPreview(
|
||||
|
||||
@Preview
|
||||
@Composable
|
||||
fun RoundIconPreview(
|
||||
internal fun RoundIconPreview(
|
||||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
Box(modifier = modifier.clip(shape = CircleShape)) {
|
||||
|
||||
Reference in New Issue
Block a user