diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 5ba5c50ef3..d747150782 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -17,7 +17,7 @@ android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" android:launchMode="singleTask" - android:windowSoftInputMode="adjustResize" + android:windowSoftInputMode="adjustPan" android:exported="true"> diff --git a/src/view/com/login/CreateAccount.tsx b/src/view/com/login/CreateAccount.tsx index 37dcba2fdc..58d305d543 100644 --- a/src/view/com/login/CreateAccount.tsx +++ b/src/view/com/login/CreateAccount.tsx @@ -1,6 +1,7 @@ import React, {useState, useEffect} from 'react' import { ActivityIndicator, + Keyboard, KeyboardAvoidingView, ScrollView, StyleSheet, @@ -65,6 +66,7 @@ export const CreateAccount = ({onPressBack}: {onPressBack: () => void}) => { const onPressSelectService = () => { store.shell.openModal(new ServerInputModal(serviceUrl, setServiceUrl)) + Keyboard.dismiss() } const onPressNext = async () => { diff --git a/src/view/com/login/Signin.tsx b/src/view/com/login/Signin.tsx index 8ba66e8700..5e8891c08e 100644 --- a/src/view/com/login/Signin.tsx +++ b/src/view/com/login/Signin.tsx @@ -1,6 +1,7 @@ import React, {useState, useEffect} from 'react' import { ActivityIndicator, + Keyboard, KeyboardAvoidingView, StyleSheet, Text, @@ -134,6 +135,7 @@ const LoginForm = ({ const onPressSelectService = () => { store.shell.openModal(new ServerInputModal(serviceUrl, setServiceUrl)) + Keyboard.dismiss() } const onPressNext = async () => { diff --git a/src/view/screens/Settings.tsx b/src/view/screens/Settings.tsx index 732b47683e..3199c4d9a3 100644 --- a/src/view/screens/Settings.tsx +++ b/src/view/screens/Settings.tsx @@ -31,7 +31,7 @@ export const Settings = observer(function Settings({ - Signed in as + Signed in as Sign out @@ -49,7 +49,7 @@ export const Settings = observer(function Settings({ avatar={store.me.avatar} /> - + {store.me.displayName || store.me.handle} @{store.me.handle}