Setup Showkase and add some Preview. WIP

This commit is contained in:
Benoit Marty 2022-11-29 15:07:04 +01:00 committed by Benoit Marty
parent a3989cf1f4
commit 024fb7146d
21 changed files with 126 additions and 27 deletions

View file

@ -145,7 +145,7 @@ private fun LazyListState.isScrolled(): Boolean {
@Preview
@Composable
private fun PreviewableRoomListContent() {
fun PreviewableRoomListContent() {
ElementXTheme(darkTheme = false) {
RoomListContent(
roomSummaries = stubbedRoomSummaries(),
@ -162,7 +162,7 @@ private fun PreviewableRoomListContent() {
@Preview
@Composable
private fun PreviewableDarkRoomListContent() {
fun PreviewableDarkRoomListContent() {
ElementXTheme(darkTheme = true) {
RoomListContent(
roomSummaries = stubbedRoomSummaries(),