Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Commit 06a0b58

Browse files
committed
Fix crashes
(cherry picked from commit 1d32f53)
1 parent 0ce2870 commit 06a0b58

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/src/main/kotlin/org/koitharu/kotatsu/core/prefs/AppSettings.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ class AppSettings @Inject constructor(@ApplicationContext context: Context) {
681681
const val KEY_REMOTE_SOURCES = "remote_sources"
682682
const val KEY_LOCAL_STORAGE = "local_storage"
683683
const val KEY_READER_DOUBLE_PAGES = "reader_double_pages"
684-
const val KEY_READER_DOUBLE_PAGES_SENSITIVITY = "reader_double_pages_sensitivity"
684+
const val KEY_READER_DOUBLE_PAGES_SENSITIVITY = "reader_double_pages_sensitivity_2"
685685
const val KEY_READER_ZOOM_BUTTONS = "reader_zoom_buttons"
686686
const val KEY_READER_CONTROL_LTR = "reader_taps_ltr"
687687
const val KEY_READER_NAVIGATION_INVERTED = "reader_navigation_inverted"

app/src/main/kotlin/org/koitharu/kotatsu/filter/ui/sheet/FilterSheetFragment.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ class FilterSheetFragment : BaseAdaptiveSheet<SheetFilterBinding>(),
133133
layoutBody.updatePadding(top = layoutBody.paddingBottom)
134134
scrollView.scrollIndicators = 0
135135
buttonDone.isVisible = false
136-
this.root.updateLayoutParams {
137-
height = ViewGroup.LayoutParams.MATCH_PARENT
138-
}
136+
this.root.layoutParams?.height = ViewGroup.LayoutParams.MATCH_PARENT
139137
buttonSave.updateLayoutParams<LinearLayout.LayoutParams> {
140138
weight = 0f
141139
width = LinearLayout.LayoutParams.WRAP_CONTENT

0 commit comments

Comments
 (0)