Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Better previews
Browse files Browse the repository at this point in the history
  • Loading branch information
henneboy committed Apr 4, 2024
1 parent 8c356d3 commit 26c9dc3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fun App() {
}
}

@Preview
@Preview(showBackground = true, device = "spec:id=reference_phone,shape=Normal,width=411,height=891,unit=dp,dpi=420")
@Composable
fun BottomNavigationBarPreview() {
Box(modifier = Modifier.height(56.dp)) { // Adjust the height as needed
Expand Down Expand Up @@ -93,7 +93,7 @@ fun BottomNavigationButton(
}
}

@Preview
@Preview(showBackground = true, device = "spec:id=reference_phone,shape=Normal,width=411,height=891,unit=dp,dpi=420")
@Composable
fun PreviewApp() {
App()
Expand Down

0 comments on commit 26c9dc3

Please sign in to comment.