mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 11:21:41 +03:00
processed PR feedback
typo fix add line end
This commit is contained in:
parent
c639d2c6f7
commit
1cc4795ef3
@ -32,11 +32,11 @@ class NotificationContainer extends Component {
|
||||
const { isConnected } = this.props;
|
||||
|
||||
if (isConnected) {
|
||||
this._getAvtivities();
|
||||
this._getActivities();
|
||||
}
|
||||
}
|
||||
|
||||
_getAvtivities = (type = null, loadMore = false) => {
|
||||
_getActivities = (type = null, loadMore = false) => {
|
||||
const { lastNotificationId, notifications, endOfNotification } = this.state;
|
||||
const since = loadMore ? lastNotificationId : null;
|
||||
|
||||
@ -151,7 +151,7 @@ class NotificationContainer extends Component {
|
||||
(nextProps.username !== username && nextProps.username)
|
||||
) {
|
||||
this.setState({ endOfNotification: false }, () =>
|
||||
this._getAvtivities(selectedFilter),
|
||||
this._getActivities(selectedFilter),
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -162,7 +162,7 @@ class NotificationContainer extends Component {
|
||||
|
||||
return (
|
||||
<NotificationScreen
|
||||
getActivities={this._getAvtivities}
|
||||
getActivities={this._getActivities}
|
||||
notifications={notifications}
|
||||
navigateToNotificationRoute={this._navigateToNotificationRoute}
|
||||
readAllNotification={this._readAllNotification}
|
||||
|
@ -10,4 +10,5 @@ const b64uLookup = {
|
||||
export const b64uEnc = (str) =>
|
||||
Buffer.from(str)
|
||||
.toString('base64')
|
||||
.replace(/(\+|\/|=)/g, (m) => b64uLookup[m]);
|
||||
.replace(/(\+|\/|=)/g, (m) => b64uLookup[m]);
|
||||
|
Loading…
Reference in New Issue
Block a user