Fix "Arrow is redundant when parameter list is empty"

And other issues that ktlint now reports
This commit is contained in:
Benoit Marty 2025-10-30 13:29:33 +01:00 committed by Benoit Marty
parent e22ecb68c3
commit 8bfb86683d
10 changed files with 41 additions and 29 deletions

View file

@ -71,10 +71,7 @@ public fun MapLibreMap(
uiSettings: MapUiSettings = DefaultMapUiSettings,
symbolManagerSettings: MapSymbolManagerSettings = DefaultMapSymbolManagerSettings,
locationSettings: MapLocationSettings = DefaultMapLocationSettings,
content: (
@Composable @MapLibreMapComposable
() -> Unit
)? = null,
content: (@Composable @MapLibreMapComposable () -> Unit)? = null,
) {
// When in preview, early return a Box with the received modifier preserving layout
if (LocalInspectionMode.current) {