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) {
|
||||
refreshControl = (
|
||||
<RefreshControl
|
||||
key={t.atoms.text.color}
|
||||
refreshing={refreshing ?? false}
|
||||
onRefresh={onRefresh}
|
||||
tintColor={t.atoms.text.color}
|
||||
|
||||
Reference in New Issue
Block a user