Skip to content

Commit

Permalink
adds all previews
Browse files Browse the repository at this point in the history
  • Loading branch information
kul3r4 committed Sep 5, 2024
1 parent 434f477 commit 23712af
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions wear/src/main/java/com/example/wear/snippets/rotary/Rotary.kt
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,23 @@ fun SnapScrollableScreen() {
// [END android_wear_rotary_input_snap_fling]
}

@WearPreviewDevices
@WearPreviewFontScales
@Composable
fun TimePickerPreview() {
TimePicker()
}

@WearPreviewDevices
@WearPreviewFontScales
@Composable
fun ScrollableScreenPreview() {
ScrollableScreen()
}

@WearPreviewDevices
@WearPreviewFontScales
@Composable
fun SnapScrollableScreenPreview() {
SnapScrollableScreen()
}

0 comments on commit 23712af

Please sign in to comment.