mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2025-12-23 23:57:55 -05:00
fix: enable pull-to-refresh based on preference (#177)
See: https://github.com/FossifyOrg/File-Manager/issues/136
This commit is contained in:
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- Replaced checkboxes with switches
|
||||
|
||||
### Fixed
|
||||
|
||||
- Pull-to-refresh setting is now applied as expected ([#136])
|
||||
|
||||
## [1.0.1] - 2024-03-17
|
||||
|
||||
### Changed
|
||||
@@ -35,3 +39,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
[Unreleased]: https://github.com/FossifyOrg/File-Manager/compare/1.0.1...HEAD
|
||||
[1.0.1]: https://github.com/FossifyOrg/File-Manager/compare/1.0.0...1.0.1
|
||||
[1.0.0]: https://github.com/FossifyOrg/File-Manager/releases/tag/1.0.0
|
||||
|
||||
[#136]: https://github.com/FossifyOrg/File-Manager/issues/136
|
||||
|
||||
@@ -220,7 +220,7 @@ class ItemsAdapter(
|
||||
}
|
||||
|
||||
override fun onActionModeDestroyed() {
|
||||
swipeRefreshLayout?.isEnabled = true
|
||||
swipeRefreshLayout?.isEnabled = config.enablePullToRefresh
|
||||
}
|
||||
|
||||
override fun getItemViewType(position: Int): Int {
|
||||
|
||||
Reference in New Issue
Block a user