字体
This commit is contained in:
@@ -946,7 +946,7 @@ object ChapterProvider {
|
|||||||
normal
|
normal
|
||||||
|
|
||||||
0 -> if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P)
|
0 -> if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P)
|
||||||
Typeface.create(typeface, 300, false)
|
Typeface.create(typeface, 400, false)
|
||||||
else
|
else
|
||||||
normal
|
normal
|
||||||
|
|
||||||
@@ -955,7 +955,7 @@ object ChapterProvider {
|
|||||||
else
|
else
|
||||||
normal
|
normal
|
||||||
|
|
||||||
else -> bold
|
else -> normal
|
||||||
}
|
}
|
||||||
|
|
||||||
val textFont = when (ReadBookConfig.textBold) {
|
val textFont = when (ReadBookConfig.textBold) {
|
||||||
@@ -970,7 +970,7 @@ object ChapterProvider {
|
|||||||
normal
|
normal
|
||||||
|
|
||||||
0 -> if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P)
|
0 -> if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P)
|
||||||
Typeface.create(typeface, 300, false)
|
Typeface.create(typeface, 400, false)
|
||||||
else
|
else
|
||||||
normal
|
normal
|
||||||
|
|
||||||
@@ -979,7 +979,7 @@ object ChapterProvider {
|
|||||||
else
|
else
|
||||||
normal
|
normal
|
||||||
|
|
||||||
else -> bold
|
else -> normal
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user