fix notifications bug

This commit is contained in:
feruz 2020-01-31 11:29:02 +02:00
parent 68e50f0afb
commit 5ed47c2e89
2 changed files with 2 additions and 2 deletions

View File

@ -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 }));

View File

@ -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',
], ],
}), }),
); );