Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gh123man committed Oct 17, 2023
1 parent eed9271 commit f3b8adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Refresher/Refresher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public struct RefreshableScrollView<Content: View, RefreshView: View>: View {
}

guard canRefresh else {
canRefresh = distance <= config.resetPoint && !isFingerDown && state.mode == .notRefreshing
canRefresh = distance <= config.resetPoint && !isFingerDown && state.mode != .refreshing
return
}
guard distance > 0, showRefreshControls else {
Expand Down

0 comments on commit f3b8adc

Please sign in to comment.