mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
Update locale change method in test
Replaces the call to locale.setLocale with locale.set in LocaleKtTest to match the updated API for changing the locale.
This commit is contained in:
@@ -28,7 +28,7 @@ class LocaleKtTest {
|
||||
Text(locale["menu.file.new"], modifier = Modifier.testTag("localisedText"))
|
||||
|
||||
Button(onClick = {
|
||||
locale.setLocale(java.util.Locale("es"))
|
||||
locale.set(java.util.Locale("es"))
|
||||
}, modifier = Modifier.testTag("button")) {
|
||||
Text("Change")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user