Commit 91f714a
committed
fix: Resolve critical compilation errors
This commit addresses several compilation errors that prevented the build from succeeding, primarily in the import/export functionality of the system message database.
- Added missing Kotlin Coroutine imports (`Dispatchers`, `launch`, `withContext`) to `PhotoReasoningScreen.kt` to resolve "Unresolved reference: withContext" errors.
- Corrected all call sites of the internal `processImportedEntries` helper function within `DatabaseListPopup`. Calls now strictly match the function's defined parameters (expecting only `imported` and `currentSystemEntries` lists). This fixes errors related to missing parameters, incorrect argument counts, and type mismatches.
- Ensured that `Toast.makeText` calls using dynamic string content (variables or template strings) have their text argument explicitly cast to `CharSequence` to resolve "Overload resolution ambiguity" errors.1 parent 6b24021 commit 91f714a
1 file changed
Lines changed: 86 additions & 135 deletions
0 commit comments