fix(flow, reading): disable sticky headers by default and use reading text font size by default on webview

This commit is contained in:
Ash 2024-11-13 11:50:06 +08:00
parent b550e39b5a
commit a956a02b1e
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ sealed class FlowArticleListDateStickyHeaderPreference(val value: Boolean) : Pre
companion object {
val default = ON
val default = OFF
val values = listOf(ON, OFF)
fun fromPreferences(preferences: Preferences) =

View File

@ -71,7 +71,7 @@ sealed class ReadingThemePreference(val value: Int) : Preference() {
ReadingTextAlignPreference.default.put(context, scope)
ReadingTextLetterSpacingPreference.put(context, scope, ReadingTextLetterSpacingPreference.default)
ReadingTextLineHeightPreference.put(context, scope, ReadingTextLineHeightPreference.default)
ReadingTextFontSizePreference.put(context, scope, 22)
ReadingTextFontSizePreference.put(context, scope, ReadingTextFontSizePreference.default)
ReadingImageRoundedCornersPreference.put(context, scope, 0)
ReadingImageHorizontalPaddingPreference.put(context, scope, 0)
ReadingImageMaximizePreference.default.put(context, scope)