Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Jetnews] Use modifier in HomeScreen
  • Loading branch information
manuelvicnt authored Oct 14, 2020
commit c442f3bf6ac358f7a9a9f8a4e8620b3093ae17af
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ private fun HomeScreenErrorAndContent(
PostList(posts.data, navigateTo, favorites, onToggleFavorite, modifier)
} else if (!posts.hasError) {
// if there are no posts, and no error, let the user refresh manually
TextButton(onClick = onRefresh, Modifier.fillMaxSize()) {
TextButton(onClick = onRefresh, modifier.fillMaxSize()) {
Text("Tap to load content", textAlign = TextAlign.Center)
}
} else {
Expand Down