Don't crash language selection just because we are in debug

Change-Id: I429dfee9ad08bd2578a9e24d0662ad60cdd7c917
This commit is contained in:
SpiritCroc 2020-11-02 11:13:28 +01:00
parent 44355109d7
commit 65c365a157
1 changed files with 2 additions and 1 deletions

View File

@ -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