Enable detekt rule PreviewPublic and fix existing issues.

This commit is contained in:
Benoit Marty 2023-07-26 10:03:02 +02:00
parent d70fd5b5f9
commit 6aa5239189
50 changed files with 90 additions and 90 deletions

View file

@ -120,7 +120,7 @@ fun StaticMapView(
@DayNightPreviews
@Composable
fun StaticMapViewPreview() = ElementPreview {
internal fun StaticMapViewPreview() = ElementPreview {
StaticMapView(
lat = 0.0,
lon = 0.0,

View file

@ -79,7 +79,7 @@ internal fun StaticMapPlaceholder(
@DayNightPreviews
@Composable
fun StaticMapPlaceholderPreview(
internal fun StaticMapPlaceholderPreview(
@PreviewParameter(BooleanParameterProvider::class) values: Boolean
) = ElementPreview {
StaticMapPlaceholder(