Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
GrakovNe committed Nov 21, 2024
1 parent c63dd9c commit bc42dc2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/src/main/java/org/grakovne/lissen/widget/PlayerWidget.kt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class PlayerWidget : GlanceAppWidget() {
horizontalAlignment = Alignment.CenterHorizontally
) {
Row(
modifier = GlanceModifier.fillMaxWidth().padding(bottom = 20.dp),
modifier = GlanceModifier.fillMaxWidth().padding(bottom = 16.dp),
verticalAlignment = Alignment.CenterVertically
) {
val cover = maybeCover
Expand All @@ -94,7 +94,7 @@ class PlayerWidget : GlanceAppWidget() {
contentDescription = null,
modifier = GlanceModifier
.size(80.dp)
.cornerRadius(12.dp)
.cornerRadius(8.dp)
)

Column(
Expand All @@ -103,24 +103,24 @@ class PlayerWidget : GlanceAppWidget() {
.padding(start = 20.dp)
) {
Text(
text = bookTitle,
text = chapterTitle,
style = TextStyle(
fontFamily = SansSerif,
fontSize = 14.sp,
fontSize = 20.sp,
color = GlanceTheme.colors.onBackground
),
maxLines = 1,
modifier = GlanceModifier.padding(bottom = 10.dp)
maxLines = 2,
modifier = GlanceModifier.padding(bottom = 6.dp)
)

Text(
text = chapterTitle,
text = bookTitle,
style = TextStyle(
fontFamily = SansSerif,
fontSize = 22.sp,
fontSize = 14.sp,
color = GlanceTheme.colors.onBackground
),
maxLines = 2
maxLines = 1
)
}
}
Expand All @@ -134,7 +134,7 @@ class PlayerWidget : GlanceAppWidget() {

Row(
modifier = GlanceModifier
.padding(top = 18.dp)
.padding(top = 12.dp)
.wrapContentWidth(),
verticalAlignment = Alignment.CenterVertically
) {
Expand Down

0 comments on commit bc42dc2

Please sign in to comment.