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
|
|
@ -120,7 +120,7 @@ fun StaticMapView(
|
|||
|
||||
@DayNightPreviews
|
||||
@Composable
|
||||
fun StaticMapViewPreview() = ElementPreview {
|
||||
internal fun StaticMapViewPreview() = ElementPreview {
|
||||
StaticMapView(
|
||||
lat = 0.0,
|
||||
lon = 0.0,
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ internal fun StaticMapPlaceholder(
|
|||
|
||||
@DayNightPreviews
|
||||
@Composable
|
||||
fun StaticMapPlaceholderPreview(
|
||||
internal fun StaticMapPlaceholderPreview(
|
||||
@PreviewParameter(BooleanParameterProvider::class) values: Boolean
|
||||
) = ElementPreview {
|
||||
StaticMapPlaceholder(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue