Skip to content

Commit

Permalink
Add 1.20.1, fix broken Send icon, add placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
retrixe committed Jul 20, 2023
1 parent 86d75b5 commit b2aed00
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/servers/EditServerDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ const EditServerDialog = ({
dropdownIconColor={darkMode ? '#ffffff' : '#000000'}
>
<Picker.Item label='Auto' value='auto' />
<Picker.Item label='1.20 (WIP)' value='1.20' />
<Picker.Item label='1.20/1.20.1 (WIP)' value='1.20.1' />
<Picker.Item label='1.19.4 (WIP)' value='1.19.4' />
<Picker.Item label='1.19.3 (WIP)' value='1.19.3' />
<Picker.Item label='1.19.1/1.19.2 (WIP)' value='1.19.1' />
<Picker.Item label='1.19.1/1.19.2 (WIP)' value='1.19.2' />
<Picker.Item label='1.19 (WIP)' value='1.19' />
<Picker.Item label='1.18.2' value='1.18.2' />
<Picker.Item label='1.18/1.18.1' value='1.18' />
Expand Down
1 change: 1 addition & 0 deletions src/minecraft/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const protocolMap = {
'1.19.3': 761,
'1.19.4': 762,
'1.20': 763,
'1.20.1': 763,
latest: 763,
auto: -1
}
Expand Down
3 changes: 2 additions & 1 deletion src/screens/chat/ChatScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ const ChatScreen = ({ navigation, route }: Props) => {
/>
<View style={darkMode ? styles.textAreaDark : styles.textArea}>
<TextField
placeholder='Message'
value={message}
maxLength={charLimit}
onChangeText={setMessage}
Expand All @@ -342,7 +343,7 @@ const ChatScreen = ({ navigation, route }: Props) => {
autoCorrect={!settings.disableAutoCorrect}
/>
<Ionicons.Button
name='ios-send-sharp'
name='send-sharp'
onPress={() => sendMessage(message.trim(), true)}
iconStyle={styles.sendButtonIcon}
borderRadius={32}
Expand Down

0 comments on commit b2aed00

Please sign in to comment.