Merge branch 'master' of github.com:esteemapp/esteem-mobile into bugfix/comment-votes

This commit is contained in:
Mustafa Buyukcelebi 2019-08-28 11:43:43 +03:00
commit ade56f204a
6 changed files with 14 additions and 8 deletions

View File

@ -1,8 +1,7 @@
import EStyleSheet from 'react-native-extended-stylesheet';
export default EStyleSheet.create({
text: {
color: '$primaryBlack',
fontSize: 10,
list: {
marginBottom: 20,
},
});

View File

@ -9,7 +9,7 @@ import { injectIntl } from 'react-intl';
import { Comment } from '../../comment';
// Styles
// import styles from './commentStyles';
import styles from './commentStyles';
class CommentsView extends PureComponent {
/* Props
@ -61,6 +61,7 @@ class CommentsView extends PureComponent {
return (
<Fragment>
<FlatList
style={styles.list}
data={comments}
keyExtractor={this._keyExtractor}
renderItem={({ item }) => (

View File

@ -78,7 +78,7 @@ class TransactionView extends PureComponent {
isBlackText
iconName={transactionData.icon}
iconType="MaterialIcons"
rightText={`${Math.round(value[0] * 1000) / 1000} ${value[1]}`}
rightText={transactionData.value.trim()}
/>
}
>

View File

@ -1,5 +1,10 @@
import { Client } from 'bugsnag-react-native';
import { Client, Configuration } from 'bugsnag-react-native';
import Config from 'react-native-config';
const client = new Client(Config.BUGSNAG_API_KEY);
const configuration = new Configuration();
configuration.apiKey = Config.BUGSNAG_API_KEY;
configuration.consoleBreadcrumbsEnabled = true;
configuration.notifyReleaseStages = ['beta', 'production'];
const client = new Client(configuration);
export default client;

View File

@ -134,6 +134,7 @@ class NotificationContainer extends Component {
intl.formatMessage({ id: 'alert.error' }),
intl.formatMessage({ d: 'alert.unknow_error' }),
);
this.setState({ isNotificationRefreshing: false });
});
};

View File

@ -51,7 +51,7 @@ export const groomingTransactionData = (transaction, steemPerMVests, formatNumbe
}).replace(',', '.');
result.value = `${sbdPayout > 0 ? `${sbdPayout} SBD` : ''} ${
steemPayout > 0 ? `${steemPayout} steemPayout` : ''
steemPayout > 0 ? `${steemPayout} STEEM` : ''
} ${vestingPayout > 0 ? `${vestingPayout} SP` : ''}`;
result.details = author && permlink ? `@${author}/${permlink}` : null;