From 558a5c20e66433002721e591f3ffd8eefd5d393b Mon Sep 17 00:00:00 2001 From: Mustafa Buyukcelebi Date: Tue, 27 Aug 2019 15:26:59 +0300 Subject: [PATCH 1/4] Small fix for read all --- src/screens/notification/container/notificationContainer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screens/notification/container/notificationContainer.js b/src/screens/notification/container/notificationContainer.js index c66f5dc0e..67720a7c3 100644 --- a/src/screens/notification/container/notificationContainer.js +++ b/src/screens/notification/container/notificationContainer.js @@ -134,6 +134,7 @@ class NotificationContainer extends Component { intl.formatMessage({ id: 'alert.error' }), intl.formatMessage({ d: 'alert.unknow_error' }), ); + this.setState({ isNotificationRefreshing: false }); }); }; From 6ed2b977bab2163d7630388bb4b161fa386f46c7 Mon Sep 17 00:00:00 2001 From: Mustafa Buyukcelebi Date: Tue, 27 Aug 2019 16:30:30 +0300 Subject: [PATCH 2/4] Disabled development errors for bugsnag --- src/config/bugsnag.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/config/bugsnag.js b/src/config/bugsnag.js index 573707a03..48aeb8adf 100644 --- a/src/config/bugsnag.js +++ b/src/config/bugsnag.js @@ -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; From 6b14060fd3a1711b0a5ffa8d55e100ada0e8920f Mon Sep 17 00:00:00 2001 From: Mustafa Buyukcelebi Date: Wed, 28 Aug 2019 09:29:31 +0300 Subject: [PATCH 3/4] Fixed wrong text data for transactions --- src/components/transaction/view/transactionView.js | 2 +- src/utils/wallet.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/transaction/view/transactionView.js b/src/components/transaction/view/transactionView.js index 13b266354..28d38d08a 100644 --- a/src/components/transaction/view/transactionView.js +++ b/src/components/transaction/view/transactionView.js @@ -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()} /> } > diff --git a/src/utils/wallet.js b/src/utils/wallet.js index d6e9b5ca9..641192abc 100644 --- a/src/utils/wallet.js +++ b/src/utils/wallet.js @@ -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; From a6333194f38f78acc55db8bf81525809c511fa86 Mon Sep 17 00:00:00 2001 From: Mustafa Buyukcelebi Date: Wed, 28 Aug 2019 09:53:45 +0300 Subject: [PATCH 4/4] Fixed replies tab bottom desing issue --- src/components/comments/view/commentStyles.js | 5 ++--- src/components/comments/view/commentsView.js | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/comments/view/commentStyles.js b/src/components/comments/view/commentStyles.js index ba151708b..d5b8fb30c 100644 --- a/src/components/comments/view/commentStyles.js +++ b/src/components/comments/view/commentStyles.js @@ -1,8 +1,7 @@ import EStyleSheet from 'react-native-extended-stylesheet'; export default EStyleSheet.create({ - text: { - color: '$primaryBlack', - fontSize: 10, + list: { + marginBottom: 20, }, }); diff --git a/src/components/comments/view/commentsView.js b/src/components/comments/view/commentsView.js index 64b97f08c..3417bdfbd 100644 --- a/src/components/comments/view/commentsView.js +++ b/src/components/comments/view/commentsView.js @@ -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 @@ -60,6 +60,7 @@ class CommentsView extends PureComponent { return ( (