Enable detekt rule PreviewPublic and fix existing issues.
This commit is contained in:
parent
d70fd5b5f9
commit
6aa5239189
50 changed files with 90 additions and 90 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue