Ensure locale is taken into account by paparazzi.

This commit is contained in:
Benoit Marty
2023-09-18 16:07:27 +02:00
parent 2b583f6e51
commit fa16bf599c

View File

@@ -96,6 +96,7 @@ class S {
paparazzi.unsafeUpdateConfig(
deviceConfig = baseDeviceConfig.deviceConfig.copy(
softButtons = false,
locale = localeStr,
nightMode = componentTestPreview.isNightMode().let {
when (it) {
true -> NightMode.NIGHT