From c2733bc2c00d0a4cc79e3dc9436ae5950cc2ff61 Mon Sep 17 00:00:00 2001
From: dan <dan.abramov@gmail.com>
Date: Wed, 24 Jan 2024 23:01:22 +0000
Subject: Use consistent spinners for loading screens (#2611)

* Use consistent spinners for loading screens

* Consolidate into LoadingScreen
---
 src/view/com/util/LoadingScreen.tsx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 src/view/com/util/LoadingScreen.tsx

(limited to 'src/view/com/util/LoadingScreen.tsx')

diff --git a/src/view/com/util/LoadingScreen.tsx b/src/view/com/util/LoadingScreen.tsx
new file mode 100644
index 000000000..93c3bee42
--- /dev/null
+++ b/src/view/com/util/LoadingScreen.tsx
@@ -0,0 +1,14 @@
+import React from 'react'
+import {ActivityIndicator, View} from 'react-native'
+import {s} from 'lib/styles'
+import {CenteredView} from './Views'
+
+export function LoadingScreen() {
+  return (
+    <CenteredView>
+      <View style={s.p20}>
+        <ActivityIndicator size="large" />
+      </View>
+    </CenteredView>
+  )
+}
-- 
cgit 1.4.1

