Skip to content

Commit

Permalink
fix: Update tablet preview with new api and remove deprecated config
Browse files Browse the repository at this point in the history
  • Loading branch information
sirambd committed Oct 30, 2024
1 parent 4cf2751 commit 41bab09
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,13 @@ annotation class PreviewSmallWindow
)
@Preview(
name = "(3) Large window landscape light",
group = "LargeWindow",
device = "spec:id=reference_tablet,shape=Normal,width=1280,height=800,unit=dp,dpi=240",
group = "LargeWindow", device = "spec:width=1280dp,height=800dp,dpi=240",
)
@Preview(
name = "(4) Large window landscape dark",
group = "LargeWindow",
uiMode = Configuration.UI_MODE_NIGHT_YES or Configuration.UI_MODE_TYPE_NORMAL,
device = "spec:id=reference_tablet,shape=Normal,width=1280,height=800,unit=dp,dpi=240",
device = "spec:width=1280dp,height=800dp,dpi=240",
)
annotation class PreviewLargeWindow

Expand Down

0 comments on commit 41bab09

Please sign in to comment.