Skip to content

Commit 9ad7f14

Browse files
committed
Re-prioritise TODOs, change default join message.
1 parent a6dc348 commit 9ad7f14

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

TODO

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
- Add command history.
2-
- Reduce bundled icons.
1+
- Finish online mode support.
32
- Add icon and configure app.json.
3+
- Reduce bundled icons (1.3 MB per APK).
44
- Fix issue with split-screen when connected.
55
- Work on replacing auto /spawn with auto commands.
66
- Handle graceful disconnect when being hit by the OOM killer?
7-
- https://reactnative.dev/docs/performance (esp when logging in)
7+
- https://reactnative.dev/docs/performance (esp when logging in, causes crashes)

src/App.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,9 @@ const App = () => {
8686
const [disconnect, setDisconnect] = React.useState<Disconnect | undefined>()
8787

8888
const [settings, setSettings] = useJsonAsyncStorage<Settings>('@settings', {
89-
// TODO: Better defaults and settings e.g. join message is 140 chars (bad for <1.11).
89+
// TODO: Better defaults and settings.
9090
joinMessage:
91-
'I connected using EnderChat, an ad-free, easy to use and well-built ' +
92-
'alternative to ChatCraft for Android! Even this message can be disabled!',
91+
"I'm using EnderChat, a well-built, ad-free ChatCraft alternative! Even this message can be disabled!",
9392
sendJoinMessage: true,
9493
sendSpawnCommand: true,
9594
chatTheme: 'Colorless',

src/screens/ChatScreen.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ const ChatScreen = ({ navigation }: { navigation: ChatNavigationProp }) => {
9999
const darkMode = useDarkMode()
100100
const { settings } = useContext(SettingsContext)
101101
const { connection, setConnection } = useContext(ConnectionContext)
102-
const [, setCommandHistory] = useState<string[]>([]) // TODO
102+
// TODO: Show command history.
103+
const [, setCommandHistory] = useState<string[]>([])
103104
const [settingsOpen, setSettingsOpen] = useState(false)
104105
const [messages, setMessages] = useState<Message[]>([])
105106
const [loggedIn, setLoggedIn] = useState(false)

0 commit comments

Comments
 (0)