about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland Crosby <roland@rolandcrosby.com>2025-01-07 19:13:03 -0500
committerGitHub <noreply@github.com>2025-01-08 00:13:03 +0000
commitc564981405b4b163fb6726f2e60c2406fbea5a5e (patch)
treec6b208f78e59dbaca2592a6b2790e70bb8493d51
parentf61390fdf4cf630473ad9cf848a55997f7e4517b (diff)
downloadvoidsky-c564981405b4b163fb6726f2e60c2406fbea5a5e.tar.zst
Add key to invalidate spinner when theme changes (#7351)
-rw-r--r--src/view/com/util/List.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/com/util/List.tsx b/src/view/com/util/List.tsx
index 5084af612..a4e1a0947 100644
--- a/src/view/com/util/List.tsx
+++ b/src/view/com/util/List.tsx
@@ -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}