Skip to content

Commit

Permalink
Fix reader info bar background settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Koitharu committed Feb 2, 2025
1 parent 382b44a commit 5d74bdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ class AppSettings @Inject constructor(@ApplicationContext context: Context) {
get() = prefs.getBoolean(KEY_READER_BAR, true)

val isReaderBarTransparent: Boolean
get() = prefs.getBoolean(KEY_READER_BAR, true)
get() = prefs.getBoolean(KEY_READER_BAR_TRANSPARENT, true)

val isReaderKeepScreenOn: Boolean
get() = prefs.getBoolean(KEY_READER_SCREEN_ON, true)
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/xml/pref_reader.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@
android:defaultValue="true"
android:dependency="reader_bar"
android:key="reader_bar_transparent"
android:title="@string/reader_info_bar_transparent"
app:allowDividerAbove="true" />
android:title="@string/reader_info_bar_transparent" />

<ListPreference
android:entries="@array/reader_backgrounds"
android:key="reader_background"
android:title="@string/background"
app:allowDividerAbove="true"
app:useSimpleSummaryProvider="true" />

<SwitchPreferenceCompat
Expand Down

0 comments on commit 5d74bdd

Please sign in to comment.