Skip to content

Commit

Permalink
Merge pull request #135 from Infomaniak/fix-preview-tablet
Browse files Browse the repository at this point in the history
fix: Update tablet preview with new api and remove deprecated config
  • Loading branch information
sirambd authored Oct 30, 2024
2 parents 4cf2751 + 1045f59 commit 41e20c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,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",
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 41e20c4

Please sign in to comment.