Add key to invalidate spinner when theme changes (#7351)
This commit is contained in:
@@ -132,6 +132,7 @@ let List = React.forwardRef<ListMethods, ListProps>(
|
|||||||
if (refreshing !== undefined || onRefresh !== undefined) {
|
if (refreshing !== undefined || onRefresh !== undefined) {
|
||||||
refreshControl = (
|
refreshControl = (
|
||||||
<RefreshControl
|
<RefreshControl
|
||||||
|
key={t.atoms.text.color}
|
||||||
refreshing={refreshing ?? false}
|
refreshing={refreshing ?? false}
|
||||||
onRefresh={onRefresh}
|
onRefresh={onRefresh}
|
||||||
tintColor={t.atoms.text.color}
|
tintColor={t.atoms.text.color}
|
||||||
|
|||||||
Reference in New Issue
Block a user