Skip to content

Commit

Permalink
Fix: Remove icons from previous and next btn
Browse files Browse the repository at this point in the history
  • Loading branch information
Prakhar-Agarwal-byte authored and thunderbiscuit committed Jul 4, 2023
1 parent 7ea9fd3 commit 89d40bf
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ fun ChapterButtons(
verticalAlignment = Alignment.CenterVertically,
modifier = Modifier.padding(vertical = 8.dp)
) {
Icon(
painter = painterResource(id = R.drawable.ic_back),
contentDescription = "Previous Chapter Icon"
)
Spacer(modifier = Modifier.width(width = 16.dp))
// Icon(
// painter = painterResource(id = R.drawable.ic_back),
// contentDescription = "Previous Chapter Icon"
// )
// Spacer(modifier = Modifier.width(width = 16.dp))
Text(
text = "Prev",
text = "Previous",
style = PadawanTypography.labelLarge,
)
}
Expand All @@ -152,7 +152,7 @@ fun ChapterButtons(
modifier = Modifier
.padding(all = 4.dp)
.standardShadow(20.dp)
.weight(weight = 0.5f),
.weight(weight = 0.5f)
) {
Row(
verticalAlignment = Alignment.CenterVertically,
Expand All @@ -162,11 +162,11 @@ fun ChapterButtons(
text = "Next",
style = PadawanTypography.labelLarge,
)
Spacer(modifier = Modifier.width(width = 16.dp))
Icon(
painter = painterResource(id = R.drawable.ic_front),
contentDescription = "Next Chapter Icon"
)
// Spacer(modifier = Modifier.width(width = 16.dp))
// Icon(
// painter = painterResource(id = R.drawable.ic_front),
// contentDescription = "Next Chapter Icon"
// )
}
}
} else if (currentPage.value == chapterPageSize - 1) {
Expand All @@ -185,7 +185,7 @@ fun ChapterButtons(
) {
Row(
verticalAlignment = Alignment.CenterVertically,
modifier = Modifier.padding(vertical = 10.dp)
modifier = Modifier.padding(vertical = 8.dp)
) {
Text(
text = "Finish",
Expand Down

0 comments on commit 89d40bf

Please sign in to comment.