Fix #937
This commit is contained in:
@@ -146,7 +146,7 @@ class ShadowsocksApplication extends Application {
|
||||
}
|
||||
} else {
|
||||
val newLocale = checkChineseLocale(config.locale)
|
||||
if (config.locale != newLocale) {
|
||||
if (newLocale != null && config.locale != newLocale) {
|
||||
val newConfig = new Configuration(config)
|
||||
newConfig.locale = newLocale
|
||||
val res = getResources
|
||||
|
||||
Reference in New Issue
Block a user