mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 11:51:52 +03:00
Merge branch 'master' of github.com:esteemapp/esteem-mobile into bugfix/comment-votes
This commit is contained in:
commit
ade56f204a
@ -1,8 +1,7 @@
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
|
||||
export default EStyleSheet.create({
|
||||
text: {
|
||||
color: '$primaryBlack',
|
||||
fontSize: 10,
|
||||
list: {
|
||||
marginBottom: 20,
|
||||
},
|
||||
});
|
||||
|
@ -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 }) => (
|
||||
|
@ -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()}
|
||||
/>
|
||||
}
|
||||
>
|
||||
|
@ -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;
|
||||
|
@ -134,6 +134,7 @@ class NotificationContainer extends Component {
|
||||
intl.formatMessage({ id: 'alert.error' }),
|
||||
intl.formatMessage({ d: 'alert.unknow_error' }),
|
||||
);
|
||||
this.setState({ isNotificationRefreshing: false });
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user