File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 3
3
### Added
4
4
- serialization for public models
5
5
- XCFramework output
6
+ - ` getHighlightsAsync() ` with handy ` DefaultHighlightsResultListener ` adapter
7
+ - ` getByName() ` function for ` SyntaxThemes `
8
+
9
+ ### Changed
10
+ - Kotlin version to 2.0.20
11
+ - direct snapshot field access to ` getSnapshot() ` function
6
12
7
13
## [ 0.9.3]
8
14
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ highlights.getHighlightsAsync(
57
57
// onStart
58
58
// onError
59
59
// onCancel
60
- override fun onComplete ( highlights : List <CodeHighlight >) {
60
+ override fun onSuccess ( result : List <CodeHighlight >) {
61
61
emitResult(highlights)
62
62
}
63
63
}
Original file line number Diff line number Diff line change @@ -109,8 +109,8 @@ fun runAsync(
109
109
// onStart
110
110
// onError
111
111
// onCancel
112
- override fun onComplete ( highlights : List <CodeHighlight >) {
113
- emitResult(highlights )
112
+ override fun onSuccess ( result : List <CodeHighlight >) {
113
+ emitResult(result )
114
114
}
115
115
}
116
116
)
You can’t perform that action at this time.
0 commit comments