Skip to content

Commit

Permalink
fix(flow, reading): disable sticky headers by default and use reading…
Browse files Browse the repository at this point in the history
… text font size by default on webview
  • Loading branch information
Ashinch committed Nov 13, 2024
1 parent b550e39 commit a956a02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a956a02

Please sign in to comment.