Enable detekt rule PreviewPublic and fix existing issues.
This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ fun StaticMapView(
|
||||
|
||||
@DayNightPreviews
|
||||
@Composable
|
||||
fun StaticMapViewPreview() = ElementPreview {
|
||||
internal fun StaticMapViewPreview() = ElementPreview {
|
||||
StaticMapView(
|
||||
lat = 0.0,
|
||||
lon = 0.0,
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ internal fun StaticMapPlaceholder(
|
||||
|
||||
@DayNightPreviews
|
||||
@Composable
|
||||
fun StaticMapPlaceholderPreview(
|
||||
internal fun StaticMapPlaceholderPreview(
|
||||
@PreviewParameter(BooleanParameterProvider::class) values: Boolean
|
||||
) = ElementPreview {
|
||||
StaticMapPlaceholder(
|
||||
|
||||
Reference in New Issue
Block a user