Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,3 @@ Emojis for the following are chosen based on [gitmoji](https://gitmoji.dev/).
### ♻️ Code Refactoring

- Code quality improvements were continuously done to assure that the application is easy to maintain and meets Kotlin standards ([#426](https://github.com/scribe-org/Scribe-Android/issues/426)).
- `CommandHandler` was extracted from `GeneralKeyboardIME` to encapsulate command execution, Enter key dispatching, and lookup state machine logic ([#426](https://github.com/scribe-org/Scribe-Android/issues/426)).
- Introduced `KeyboardIMEContext` interface contract to decouple handler dependencies from the concrete `GeneralKeyboardIME` class ([#426](https://github.com/scribe-org/Scribe-Android/issues/426)).

2 changes: 2 additions & 0 deletions app/src/keyboards/java/be/scri/helpers/KeyboardIMEContext.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import android.content.Context
import android.content.res.Resources
import android.view.inputmethod.InputConnection
import be.scri.databinding.InputMethodViewBinding
import be.scri.helpers.ui.KeyboardThemeManager
import be.scri.helpers.ui.KeyboardUIManager
import be.scri.models.ScribeLanguage
import be.scri.models.ScribeState
Expand Down Expand Up @@ -41,6 +42,7 @@ interface KeyboardIMEContext {

val binding: InputMethodViewBinding
val uiManager: KeyboardUIManager
val themeManager: KeyboardThemeManager
val isUiManagerInitialized: Boolean

val currentState: ScribeState
Expand Down
Loading
Loading