disable Pull-to-refresh automatically at enabling horizontal scroll
This commit is contained in:
parent
5d756b5a60
commit
db2e0dc776
|
@ -203,6 +203,11 @@ class SettingsActivity : SimpleActivity() {
|
|||
settings_scroll_horizontally_holder.setOnClickListener {
|
||||
settings_scroll_horizontally.toggle()
|
||||
config.scrollHorizontally = settings_scroll_horizontally.isChecked
|
||||
|
||||
if (config.scrollHorizontally) {
|
||||
config.enablePullToRefresh = false
|
||||
settings_enable_pull_to_refresh.isChecked = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue