Reduce redundancy in some preference declarations
The remaining ones could also be converted to FlowPreferences for this, but it's not really necessary.
This commit is contained in:
@@ -76,7 +76,7 @@ class WebtoonViewer(val activity: ReaderActivity, val isContinuous: Boolean = tr
|
||||
|
||||
private val threshold: Int =
|
||||
Injekt.get<PreferencesHelper>()
|
||||
.readerHideTreshold()
|
||||
.readerHideThreshold()
|
||||
.get()
|
||||
.threshold
|
||||
|
||||
|
||||
Reference in New Issue
Block a user