Skip to content

Commit 5776370

Browse files
authored
fix: timing sync (#1441)
1 parent 32a006f commit 5776370

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/main/java/com/osfans/trime/ime/core/TrimeInputMethodService.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ open class TrimeInputMethodService : LifecycleInputMethodService() {
231231
// and lead to a crash loop
232232
Timber.d("onCreate")
233233
ColorManager.addOnChangedListener(onColorChangeListener)
234+
mIntentReceiver =
235+
IntentReceiver().also {
236+
it.registerReceiver(this)
237+
}
234238
postRimeJob {
235239
Timber.d("Running Trime.onCreate")
236240
ColorManager.init(resources.configuration)

0 commit comments

Comments
 (0)