File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
app/src/processing/app/ui/theme Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,9 @@ package processing.app.ui.theme
33import androidx.compose.runtime.Composable
44import androidx.compose.runtime.CompositionLocalProvider
55import androidx.compose.runtime.compositionLocalOf
6- import processing.app.LocalPreferences
6+ import androidx.compose.runtime.remember
77import processing.app.Messages
88import processing.app.Platform
9- import processing.app.PlatformStart
109import processing.app.watchFile
1110import java.io.File
1211import java.io.InputStream
@@ -32,7 +31,9 @@ class Locale(language: String = "") : Properties() {
3231val LocalLocale = compositionLocalOf { Locale () }
3332@Composable
3433fun LocaleProvider (content : @Composable () -> Unit ) {
35- PlatformStart ()
34+ remember {
35+ Platform .init ()
36+ }
3637
3738 val settingsFolder = Platform .getSettingsFolder()
3839 val languageFile = File (settingsFolder, " language.txt" )
You can’t perform that action at this time.
0 commit comments