Add key to invalidate spinner when theme changes (#7351)

This commit is contained in:
Roland Crosby
2025-01-07 19:13:03 -05:00
committed by GitHub
parent f61390fdf4
commit c564981405
+1
View File
@@ -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}