Skip to content

Commit 20b92d6

Browse files
committed
fix: enable pull-to-refresh based on preference
See: #136
1 parent 2c0e31c commit 20b92d6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Replaced checkboxes with switches
1313

14+
### Fixed
15+
16+
- Pull-to-refresh setting is now applied as expected ([#136])
17+
1418
## [1.0.1] - 2024-03-17
1519

1620
### Changed

app/src/main/kotlin/org/fossify/filemanager/adapters/ItemsAdapter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class ItemsAdapter(
220220
}
221221

222222
override fun onActionModeDestroyed() {
223-
swipeRefreshLayout?.isEnabled = true
223+
swipeRefreshLayout?.isEnabled = config.enablePullToRefresh
224224
}
225225

226226
override fun getItemViewType(position: Int): Int {

0 commit comments

Comments
 (0)