Skip to content

Commit

Permalink
fix detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
saleniuk committed Dec 18, 2024
1 parent 3351627 commit 94fccf7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@ class SearchBarState(
)
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,16 @@ fun previewConversationList(count: Int, startIndex: Int = 0, unread: Boolean = f
fun previewConversationFoldersFlow(
searchQuery: String = "",
list: List<ConversationFolderItem> = previewConversationFolders(searchQuery = searchQuery)
) = flowOf(PagingData.from(
data = list,
sourceLoadStates = LoadStates(
prepend = LoadState.NotLoading(true),
append = LoadState.NotLoading(true),
refresh = LoadState.NotLoading(true),
) = flowOf(
PagingData.from(
data = list,
sourceLoadStates = LoadStates(
prepend = LoadState.NotLoading(true),
append = LoadState.NotLoading(true),
refresh = LoadState.NotLoading(true),
)
)
)
)

fun previewConversationFolders(withFolders: Boolean = true, searchQuery: String = "", unreadCount: Int = 3, readCount: Int = 6) =
buildList {
Expand Down

0 comments on commit 94fccf7

Please sign in to comment.