Skip to content

Commit

Permalink
fix notifications serviceDelay max being set to 100
Browse files Browse the repository at this point in the history
the default max is 100, so when the value is set before the max, it is bounded to the default
  • Loading branch information
benibela committed Feb 25, 2024
1 parent f8d0f20 commit fc82bea
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ class Options : VideLibriBaseActivity() {
}
}
seekBarToToggle = seekBar(PreferenceSeekBar(ctw)) {
property(globalOptionsAndroid.notifications::serviceDelay)
max(1620)
logarithmicProperty(globalOptionsAndroid.notifications::serviceDelay)
//dependency(notificationSwitcher.key)
max(1440)

title(R.string.lay_options_label_autocheckdelay)
onChanged(saveOptionsAndroidOnly)
} as PreferenceSeekBar
Expand Down

0 comments on commit fc82bea

Please sign in to comment.