Skip to content

Commit fae1ff3

Browse files
author
Thomas Horta
committed
Use Body Small style for Announcement card descriptions
It uses 12sp instead of the 11sp used by the footnote style, making it more readable.
1 parent b4d6861 commit fae1ff3

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)