Skip to content

Commit

Permalink
Break long instruction in 2 lines to optimize for DAC
Browse files Browse the repository at this point in the history
  • Loading branch information
kul3r4 committed Aug 7, 2024
1 parent 788f14d commit 822ac2d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wear/src/main/java/com/example/wear/snippets/list/List.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

package com.example.wear.snippets.list

import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Build
import androidx.compose.runtime.Composable
Expand Down Expand Up @@ -107,7 +108,9 @@ fun SnapAndFlingComposeList() {
const val LARGE_DISPLAY_BREAKPOINT = 225

@Composable
fun isLargeDisplay() = LocalConfiguration.current.screenWidthDp >= LARGE_DISPLAY_BREAKPOINT
fun isLargeDisplay() =
LocalConfiguration.current.screenWidthDp >= LARGE_DISPLAY_BREAKPOINT

// [START_EXCLUDE]
@Composable
fun breakpointDemo() {
Expand Down

0 comments on commit 822ac2d

Please sign in to comment.