Skip to content

Commit

Permalink
Add key to invalidate spinner when theme changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandcrosby committed Jan 4, 2025
1 parent 615bbc3 commit 1b74150
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/view/com/util/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ let List = React.forwardRef<ListMethods, ListProps>(
if (refreshing !== undefined || onRefresh !== undefined) {
refreshControl = (
<RefreshControl
key={t.atoms.text.color}
refreshing={refreshing ?? false}
onRefresh={onRefresh}
tintColor={t.atoms.text.color}
Expand Down

0 comments on commit 1b74150

Please sign in to comment.