mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
Force async onRefresh on PullToRefresh component (#2487)
* Force async onRefresh * Release notes
This commit is contained in:
committed by
GitHub
parent
107acdb36b
commit
586a26968c
@@ -22,6 +22,10 @@ export function PullToRefresh(props: PullToRefreshProps) {
|
||||
}),
|
||||
)}
|
||||
{...props}
|
||||
// Force async because the library errors out when a sync onRefresh method is provided.
|
||||
onRefresh={async () => {
|
||||
await props.onRefresh?.();
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
6
upcoming-release-notes/2487.md
Normal file
6
upcoming-release-notes/2487.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [joel-jeremy]
|
||||
---
|
||||
|
||||
Fix mobile accounts page pull to refresh functionality
|
||||
Reference in New Issue
Block a user