mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Set expicit fontSize parameter (to default value 1f), to test different fontScale more easily.
This commit is contained in:
committed by
Benoit Marty
parent
ec880b0b0d
commit
94c6223be2
+9
-2
@@ -42,6 +42,13 @@ const val DAY_MODE_NAME = "D"
|
|||||||
*
|
*
|
||||||
* NB: Content should be wrapped into [ElementPreview] to apply proper theming.
|
* NB: Content should be wrapped into [ElementPreview] to apply proper theming.
|
||||||
*/
|
*/
|
||||||
@Preview(name = DAY_MODE_NAME)
|
@Preview(
|
||||||
@Preview(name = NIGHT_MODE_NAME, uiMode = Configuration.UI_MODE_NIGHT_YES)
|
name = DAY_MODE_NAME,
|
||||||
|
fontScale = 1f,
|
||||||
|
)
|
||||||
|
@Preview(
|
||||||
|
name = NIGHT_MODE_NAME,
|
||||||
|
uiMode = Configuration.UI_MODE_NIGHT_YES,
|
||||||
|
fontScale = 1f,
|
||||||
|
)
|
||||||
annotation class DayNightPreviews
|
annotation class DayNightPreviews
|
||||||
|
|||||||
Reference in New Issue
Block a user