Setup Showkase and add some Preview. WIP
This commit is contained in:
parent
a3989cf1f4
commit
024fb7146d
21 changed files with 126 additions and 27 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue