From 3d992f6bb5f371dacbb390bf5a9b3ee2f7e28bea Mon Sep 17 00:00:00 2001
From: Eric Bailey <git@esb.lol>
Date: Fri, 30 Aug 2024 18:26:03 -0500
Subject: Fix provider order (#5046)

---
 src/App.native.tsx | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

(limited to 'src/App.native.tsx')

diff --git a/src/App.native.tsx b/src/App.native.tsx
index 9e999ba0b..609d316d4 100644
--- a/src/App.native.tsx
+++ b/src/App.native.tsx
@@ -172,12 +172,12 @@ function App() {
    * that is set up in the InnerApp component above.
    */
   return (
-    <I18nProvider>
-      <A11yProvider>
-        <KeyboardProvider enabled={false} statusBarTranslucent={true}>
-          <SessionProvider>
-            <ShellStateProvider>
-              <PrefsStateProvider>
+    <A11yProvider>
+      <KeyboardProvider enabled={false} statusBarTranslucent={true}>
+        <SessionProvider>
+          <PrefsStateProvider>
+            <I18nProvider>
+              <ShellStateProvider>
                 <InvitesStateProvider>
                   <ModalStateProvider>
                     <DialogStateProvider>
@@ -191,12 +191,12 @@ function App() {
                     </DialogStateProvider>
                   </ModalStateProvider>
                 </InvitesStateProvider>
-              </PrefsStateProvider>
-            </ShellStateProvider>
-          </SessionProvider>
-        </KeyboardProvider>
-      </A11yProvider>
-    </I18nProvider>
+              </ShellStateProvider>
+            </I18nProvider>
+          </PrefsStateProvider>
+        </SessionProvider>
+      </KeyboardProvider>
+    </A11yProvider>
   )
 }
 
-- 
cgit 1.4.1

