Skip to content

Commit d8a3dd3

Browse files
author
Thomas Horta
authored
Merge pull request #20883 from wordpress-mobile/fix/reader-announcement-font-size
[Reader] Use Body Small style for Announcement card descriptions
2 parents 610c495 + fae1ff3 commit d8a3dd3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

WordPress/src/main/java/org/wordpress/android/ui/reader/views/compose/ReaderAnnouncementCard.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import androidx.compose.ui.res.stringResource
2525
import androidx.compose.ui.tooling.preview.Preview
2626
import androidx.compose.ui.unit.dp
2727
import org.wordpress.android.R
28-
import org.wordpress.android.designsystem.footnote
2928
import org.wordpress.android.ui.compose.theme.AppColor
3029
import org.wordpress.android.ui.compose.theme.AppTheme
3130
import org.wordpress.android.ui.compose.unit.Margin
@@ -122,7 +121,7 @@ private fun ReaderAnnouncementCardItem(data: ReaderAnnouncementCardItemData) {
122121
start = Margin.Large.value,
123122
),
124123
text = stringResource(data.descriptionRes),
125-
style = MaterialTheme.typography.footnote,
124+
style = MaterialTheme.typography.bodySmall,
126125
color = secondaryElementColor,
127126
)
128127
}

0 commit comments

Comments
 (0)