From e86f6a9cf0eb271abfc7cf53ec10ef372d52f0bd Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sun, 17 Mar 2024 12:58:59 +0000
Subject: fix(mobile): Fix premature rendering of the app if the setting is not
 loaded

---
 apps/mobile/app/signin.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'apps/mobile/app/signin.tsx')

diff --git a/apps/mobile/app/signin.tsx b/apps/mobile/app/signin.tsx
index da7e2fea..07ab8e08 100644
--- a/apps/mobile/app/signin.tsx
+++ b/apps/mobile/app/signin.tsx
@@ -74,8 +74,8 @@ export default function Signin() {
               value={settings.address}
               autoCapitalize="none"
               keyboardType="url"
-              onEndEditing={(e) =>
-                setSettings({ ...settings, address: e.nativeEvent.text })
+              onChangeText={(e) =>
+                setSettings({ ...settings, address: e })
               }
             />
           </View>
-- 
cgit v1.2.3-70-g09d2

