SessionCtl // Mitigate .ofEmpty() state on activateServer().

- We don't handle it. We set it.
This commit is contained in:
ShikiSuen 2022-11-04 16:57:50 +08:00
parent f57238f380
commit c9c2ab9064
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ extension SessionCtl {
UpdateSputnik.shared.checkForUpdate(forced: false, url: kUpdateInfoSourceURL)
}
switchState(IMEState.ofEmpty())
state = IMEState.ofEmpty()
isActivated = true //
Self.allInstances.insert(self)
setKeyLayout()