From a2203196ff3353a6f7efaac5df25844880807baf Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 8 Nov 2025 17:18:55 +0000
Subject: fix(mobile): fix default address not correctly stored in settings

---
 apps/mobile/app/signin.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

diff --git a/apps/mobile/app/signin.tsx b/apps/mobile/app/signin.tsx
index 3dc41a0c..6a554f89 100644
--- a/apps/mobile/app/signin.tsx
+++ b/apps/mobile/app/signin.tsx
@@ -30,7 +30,7 @@ export default function Signin() {
   const [loginType, setLoginType] = useState<LoginType>(LoginType.Password);
   const [isEditingServerAddress, setIsEditingServerAddress] = useState(false);
   const [tempServerAddress, setTempServerAddress] = useState(
-    "https://cloud.karakeep.app",
+    settings.address ?? "https://cloud.karakeep.app",
   );
   const [isCustomHeadersModalVisible, setIsCustomHeadersModalVisible] =
     useState(false);
-- 
cgit v1.3-1-g0d28

