mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-03 11:34:30 +03:00
fix notifications bug
This commit is contained in:
parent
68e50f0afb
commit
5ed47c2e89
@ -19,7 +19,7 @@ import {
|
|||||||
openPinCodeModal,
|
openPinCodeModal,
|
||||||
setPinCode,
|
setPinCode,
|
||||||
} from '../../../redux/actions/applicationActions';
|
} from '../../../redux/actions/applicationActions';
|
||||||
import { setPushTokenSaved } from '../../../realm/realm';
|
import { setPushTokenSaved, setExistUser } from '../../../realm/realm';
|
||||||
import { setPushToken } from '../../../providers/esteem/esteem';
|
import { setPushToken } from '../../../providers/esteem/esteem';
|
||||||
import { encryptKey } from '../../../utils/crypto';
|
import { encryptKey } from '../../../utils/crypto';
|
||||||
|
|
||||||
@ -64,6 +64,7 @@ class LoginContainer extends PureComponent {
|
|||||||
dispatch(addOtherAccount({ username: result.name }));
|
dispatch(addOtherAccount({ username: result.name }));
|
||||||
dispatch(loginAction(true));
|
dispatch(loginAction(true));
|
||||||
userActivity(result.name, 20);
|
userActivity(result.name, 20);
|
||||||
|
setExistUser(true);
|
||||||
this._setPushToken(result.name);
|
this._setPushToken(result.name);
|
||||||
if (isPinCodeOpen) {
|
if (isPinCodeOpen) {
|
||||||
dispatch(openPinCodeModal({ navigateTo: ROUTES.DRAWER.MAIN }));
|
dispatch(openPinCodeModal({ navigateTo: ROUTES.DRAWER.MAIN }));
|
||||||
|
@ -84,7 +84,6 @@ class SettingsContainer extends Component {
|
|||||||
'https://rpc.steemviz.com',
|
'https://rpc.steemviz.com',
|
||||||
'https://api.steem.house',
|
'https://api.steem.house',
|
||||||
'https://steemd.pevo.science',
|
'https://steemd.pevo.science',
|
||||||
'https://steemd.minnowsupportproject.org',
|
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user