Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Don Turner <[email protected]>
  • Loading branch information
JoseAlcerreca and dturner committed Dec 10, 2024
1 parent 63e8189 commit 965314f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ private fun AddEditTaskContent(
modifier: Modifier = Modifier
) {
var isRefreshing by remember { mutableStateOf(false) }
val state = rememberPullToRefreshState()
val refreshingState = rememberPullToRefreshState()
if (loading) {
PullToRefreshBox(
isRefreshing = isRefreshing,
state = state,
state = refreshingState,
onRefresh = { /* DO NOTHING */ },
content = { }
)
Expand Down

0 comments on commit 965314f

Please sign in to comment.