Skip to content

Commit

Permalink
Merge branch 'develop' into fix.rooms-list-request
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolmello authored Jan 13, 2021
2 parents ede1d27 + 3b4f457 commit 663cd8d
Show file tree
Hide file tree
Showing 16 changed files with 10 additions and 33 deletions.
Binary file removed android/app/src/main/res/drawable-hdpi/logo.png
Binary file not shown.
Binary file removed android/app/src/main/res/drawable-mdpi/logo.png
Binary file not shown.
Binary file removed android/app/src/main/res/drawable-xhdpi/logo.png
Binary file not shown.
Binary file removed android/app/src/main/res/drawable-xxhdpi/logo.png
Binary file not shown.
Binary file removed android/app/src/main/res/drawable-xxxhdpi/logo.png
Binary file not shown.
2 changes: 1 addition & 1 deletion app/presentation/RoomItem/Touchable.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Touchable extends React.Component {
rowState: 0 // 0: closed, 1: right opened, -1: left opened
};
this._onGestureEvent = Animated.event(
[{ nativeEvent: { translationX: this.dragX } }]
[{ nativeEvent: { translationX: this.dragX } }], { useNativeDriver: true }
);
this._value = 0;
}
Expand Down
4 changes: 2 additions & 2 deletions app/presentation/ServerItem/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ const ServerItem = React.memo(({
uri: item.iconURL,
priority: FastImage.priority.high
}}
defaultSource={{ uri: 'logo' }}
defaultSource={require('../../static/images/logo.png')}
style={styles.serverIcon}
onError={() => console.log('err_loading_server_icon')}
/>
)
: (
<FastImage
source={{ uri: 'logo' }}
source={require('../../static/images/logo.png')}
style={styles.serverIcon}
/>
)
Expand Down
Binary file modified app/static/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app/views/NewServerView/ServerInput/Item.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const Item = ({
}) => (
<Touch style={styles.container} onPress={() => onPress(item.url)} theme={theme} testID={`server-history-${ item.url }`}>
<View style={styles.content}>
<Text style={[styles.server, { color: themes[theme].bodyText }]}>{item.url}</Text>
<Text style={[styles.username, { color: themes[theme].auxiliaryText }]}>{item.username}</Text>
<Text numberOfLines={1} style={[styles.server, { color: themes[theme].bodyText }]}>{item.url}</Text>
<Text numberOfLines={1} style={[styles.username, { color: themes[theme].auxiliaryText }]}>{item.username}</Text>
</View>
<BorderlessButton onPress={() => onDelete(item)} testID={`server-history-delete-${ item.url }`}>
<CustomIcon name='delete' size={24} color={themes[theme].auxiliaryText} />
Expand Down
2 changes: 1 addition & 1 deletion app/views/OnboardingView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class OnboardingView extends React.Component {
return (
<FormContainer theme={theme} testID='onboarding-view'>
<FormContainerInner>
<Image style={styles.onboarding} source={{ uri: 'logo' }} fadeDuration={0} />
<Image style={styles.onboarding} source={require('../../static/images/logo.png')} fadeDuration={0} />
<Text style={[styles.title, { color: themes[theme].titleText }]}>{I18n.t('Onboarding_title')}</Text>
<Text style={[styles.subtitle, { color: themes[theme].controlText }]}>{I18n.t('Onboarding_subtitle')}</Text>
<Text style={[styles.description, { color: themes[theme].auxiliaryText }]}>{I18n.t('Onboarding_description')}</Text>
Expand Down
4 changes: 2 additions & 2 deletions app/views/OnboardingView/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export default StyleSheet.create({
marginBottom: verticalScale(50),
maxHeight: verticalScale(150),
resizeMode: 'contain',
width: 80,
height: 70
width: 100,
height: 100
},
title: {
...sharedStyles.textBold,
Expand Down
4 changes: 2 additions & 2 deletions app/views/RoomsListView/ServerDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,14 +220,14 @@ class ServerDropdown extends Component {
? (
<Image
source={{ uri: item.iconURL }}
defaultSource={{ uri: 'logo' }}
defaultSource={require('../../static/images/logo.png')}
style={styles.serverIcon}
onError={() => console.warn('error loading serverIcon')}
/>
)
: (
<Image
source={{ uri: 'logo' }}
source={require('../../static/images/logo.png')}
style={styles.serverIcon}
/>
)
Expand Down
23 changes: 0 additions & 23 deletions ios/RocketChatRN/Images.xcassets/logo.imageset/Contents.json

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 663cd8d

Please sign in to comment.