From 0e1d28a5951f6ae55f05e87b161f54be55cb71d2 Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Fri, 2 Jan 2026 22:24:52 +0000
Subject: fix(mobile): fix save button in server-address screen on android

---
 apps/mobile/app/server-address.tsx | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

(limited to 'apps/mobile/app/server-address.tsx')

diff --git a/apps/mobile/app/server-address.tsx b/apps/mobile/app/server-address.tsx
index b63aaf4c..3b7b01d4 100644
--- a/apps/mobile/app/server-address.tsx
+++ b/apps/mobile/app/server-address.tsx
@@ -94,18 +94,12 @@ export default function ServerAddress() {
       <Stack.Screen
         options={{
           title: "Server Address",
-          headerRight: () => (
-            <Pressable onPress={handleSave}>
-              <Text className="text-base font-semibold text-blue-500">
-                Save
-              </Text>
-            </Pressable>
-          ),
+          headerTransparent: true,
         }}
       />
       <PageTitle title="Server Address" />
       <KeyboardAwareScrollView
-        className="w-full"
+        className="w-full flex-1"
         contentContainerClassName="items-center gap-4 px-4 py-4"
         bottomOffset={20}
         keyboardShouldPersistTaps="handled"
@@ -225,6 +219,13 @@ export default function ServerAddress() {
           </View>
         </View>
       </KeyboardAwareScrollView>
+
+      {/* Fixed Save Button */}
+      <View className="border-t border-border bg-background px-4 py-3">
+        <Button onPress={handleSave} className="w-full">
+          <Text className="font-semibold">Save</Text>
+        </Button>
+      </View>
     </CustomSafeAreaView>
   );
 }
-- 
cgit v1.2.3-70-g09d2

