Skip to content
Snippets Groups Projects
Commit f9507b00 authored by Aleksandras Kostarevas's avatar Aleksandras Kostarevas
Browse files

Fix LM reload check

parent 19569502
No related branches found
No related tags found
No related merge requests found
...@@ -192,7 +192,7 @@ public class LanguageModelFacilitator( ...@@ -192,7 +192,7 @@ public class LanguageModelFacilitator(
if(transformerDisabled) return null if(transformerDisabled) return null
val locale = dictionaryFacilitator.locale ?: return null val locale = dictionaryFacilitator.locale ?: return null
if ((languageModel == null && locale.language != skipLanguage) || (languageModel?.locale?.language != locale.language)) { if ((languageModel == null && locale.language != skipLanguage) || (languageModel != null && languageModel?.locale?.language != locale.language)) {
skipLanguage = null skipLanguage = null
Log.d( Log.d(
"LanguageModelFacilitator", "LanguageModelFacilitator",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment