Skip to content

Commit

Permalink
Change default text style of description composer to body2
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickgold committed Aug 7, 2022
1 parent e3e2137 commit 13f5cb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private class ListPreferenceEntriesScopeImpl<V : Any> : ListPreferenceEntriesSco
description: String,
showDescriptionOnlyIfSelected: Boolean,
) {
entries.add(ListPreferenceEntry(key, label, { Text(it) }, description, { Text(it) }, showDescriptionOnlyIfSelected))
entries.add(ListPreferenceEntry(key, label, { Text(it) }, description, { Text(it, style = MaterialTheme.typography.body2) }, showDescriptionOnlyIfSelected))
}

override fun entry(
Expand Down

0 comments on commit 13f5cb4

Please sign in to comment.