Skip to content

Commit 7d1e8d6

Browse files
fix: prevent ANOTHER Stub error at tachiyomi-inspector
1 parent 2ab9467 commit 7d1e8d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/src/main/kotlin/org/claudemirovsky/noveltomanga/NovelToManga.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ class NovelToManga {
2727
var separateLines: Boolean = true
2828
var fontSize: Float = 25F
2929
set(value) {
30-
textpaint.textSize = value
30+
runCatching { textpaint.textSize = value }
3131
field = value
3232
}
3333
var theme: Theme = DefaultThemes.DARK
3434
set(value) {
35-
textpaint.color = value.fontColor
35+
runCatching { textpaint.color = value.fontColor }
3636
field = value
3737
}
3838

0 commit comments

Comments
 (0)