Skip to content

Commit

Permalink
Update BottomBar height within Article Screen (#764)
Browse files Browse the repository at this point in the history
* Update BottomBar height within Article Screen

Fixes #763

* [JetNews] Swap the order of modifiers

Swap the order of the windowInsetsPadding and height modifiers to fix incorrect layout

* Fix spotless error
  • Loading branch information
ed-george committed Mar 28, 2022
1 parent 2b5c170 commit 2e2a01e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ private fun BottomBar(
Row(
verticalAlignment = Alignment.CenterVertically,
modifier = Modifier
.windowInsetsPadding(WindowInsets.navigationBars.only(WindowInsetsSides.Vertical))
.height(56.dp)
.fillMaxWidth()
.windowInsetsPadding(WindowInsets.navigationBars.only(WindowInsetsSides.Vertical))
) {
FavoriteButton(onClick = onUnimplementedAction)
BookmarkButton(isBookmarked = isFavorite, onClick = onToggleFavorite)
Expand Down

0 comments on commit 2e2a01e

Please sign in to comment.