Skip to content

Commit 822ac2d

Browse files
committed
Break long instruction in 2 lines to optimize for DAC
1 parent 788f14d commit 822ac2d

File tree

1 file changed

+4
-1
lines changed
  • wear/src/main/java/com/example/wear/snippets/list

1 file changed

+4
-1
lines changed

Diff for: wear/src/main/java/com/example/wear/snippets/list/List.kt

+4-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616

1717
package com.example.wear.snippets.list
18+
1819
import androidx.compose.material.icons.Icons
1920
import androidx.compose.material.icons.filled.Build
2021
import androidx.compose.runtime.Composable
@@ -107,7 +108,9 @@ fun SnapAndFlingComposeList() {
107108
const val LARGE_DISPLAY_BREAKPOINT = 225
108109

109110
@Composable
110-
fun isLargeDisplay() = LocalConfiguration.current.screenWidthDp >= LARGE_DISPLAY_BREAKPOINT
111+
fun isLargeDisplay() =
112+
LocalConfiguration.current.screenWidthDp >= LARGE_DISPLAY_BREAKPOINT
113+
111114
// [START_EXCLUDE]
112115
@Composable
113116
fun breakpointDemo() {

0 commit comments

Comments
 (0)