diff --git a/src/components/TextField.tsx b/src/components/TextField.tsx index e490fe0..4b722ee 100644 --- a/src/components/TextField.tsx +++ b/src/components/TextField.tsx @@ -2,7 +2,6 @@ import React from 'react' import { TextInput, StyleSheet, TextInputProps } from 'react-native' import useDarkMode from '../context/useDarkMode' -// TODO: Look into a redesign. const TextField = (props: TextInputProps & { red?: boolean }) => { const style = props.style && props.style.valueOf() const darkMode = useDarkMode() @@ -21,7 +20,7 @@ const TextField = (props: TextInputProps & { red?: boolean }) => { ...(darkMode ? styles.modalTextFieldBackgroundDark : styles.modalTextFieldBackground), - ...(props.red ? { borderColor: '#ff0000' } : {}), + ...(props.red ? { borderColor: '#ff0000', borderWidth: 1 } : {}), ...(typeof style === 'object' ? style : {}) }} /> diff --git a/src/screens/ServerScreen.tsx b/src/screens/ServerScreen.tsx index b1edcd9..b2bdc8b 100644 --- a/src/screens/ServerScreen.tsx +++ b/src/screens/ServerScreen.tsx @@ -159,6 +159,7 @@ const ServerScreen = () => { reason: 'EnderChat only supports 1.16.4 and newer for now.' }) } + // TODO: Refresh token before trying to connect. const uuid = accounts[activeAccount].type ? activeAccount : undefined const newConn = await initiateConnection({ host, diff --git a/src/screens/accounts/AccountScreen.tsx b/src/screens/accounts/AccountScreen.tsx index 639dd34..4d7fd58 100644 --- a/src/screens/accounts/AccountScreen.tsx +++ b/src/screens/accounts/AccountScreen.tsx @@ -11,7 +11,7 @@ import UsersContext from '../../context/accountsContext' import ElevatedView from '../../components/ElevatedView' import { invalidate } from '../../minecraft/yggdrasil' -// TODO: Reload to update account info for online mode using /refresh. +// LOW-TODO: Reload to update account info for online mode using /refresh. // Also, to reload all the skin images? const AccountScreen = () => { const darkMode = useDarkMode()