mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Ensure locale is taken into account by paparazzi.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user