mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 19:05:56 +03:00
Don't crash language selection just because we are in debug
Change-Id: I429dfee9ad08bd2578a9e24d0662ad60cdd7c917
This commit is contained in:
parent
44355109d7
commit
65c365a157
1 changed files with 2 additions and 1 deletions
|
@ -174,7 +174,8 @@ object VectorLocale {
|
|||
.build()
|
||||
} catch (exception: IllformedLocaleException) {
|
||||
if (BuildConfig.DEBUG) {
|
||||
throw exception
|
||||
//throw exception
|
||||
exception.printStackTrace()
|
||||
}
|
||||
// Ignore this locale in production
|
||||
null
|
||||
|
|
Loading…
Reference in a new issue