Skip to content

Commit 6faf351

Browse files
authored
Update README.md
1 parent d858793 commit 6faf351

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ val spanCount = AppDimens.calculateAvailableItemCount(
265265

266266
```kotlin
267267
// Android - Advanced screen qualifiers
268-
val buttonSize = 80.scaledDp()
268+
val buttonSize = 80.dynamicDp() // or fixedDp
269269
.screen(UiModeType.WATCH, DpQualifier.SMALL_WIDTH, 200, 40.dp) // Priority 1: Intersection
270270
.screen(UiModeType.CAR, 120.dp) // Priority 2: UI Mode
271271
.screen(DpQualifier.SMALL_WIDTH, 720, 150) // Priority 3: Dp Qualifier
@@ -280,7 +280,7 @@ val buttonSize = 80.scaledDp()
280280
// Android - Performance settings
281281
AppDimens.globalCacheEnabled = true // Global cache control
282282

283-
val dimension = 100.scaledDp()
283+
val dimension = 100.dynamicDp()
284284
.cache(true) // Instance-level cache
285285
.toPx(resources) // Cached calculation
286286
```

0 commit comments

Comments
 (0)