Ensure locale is taken into account by paparazzi.
This commit is contained in:
parent
2b583f6e51
commit
fa16bf599c
1 changed files with 1 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ class S {
|
||||||
paparazzi.unsafeUpdateConfig(
|
paparazzi.unsafeUpdateConfig(
|
||||||
deviceConfig = baseDeviceConfig.deviceConfig.copy(
|
deviceConfig = baseDeviceConfig.deviceConfig.copy(
|
||||||
softButtons = false,
|
softButtons = false,
|
||||||
|
locale = localeStr,
|
||||||
nightMode = componentTestPreview.isNightMode().let {
|
nightMode = componentTestPreview.isNightMode().let {
|
||||||
when (it) {
|
when (it) {
|
||||||
true -> NightMode.NIGHT
|
true -> NightMode.NIGHT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue