mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
REF: analytics
This commit is contained in:
parent
bce7dace88
commit
37c1de472f
@ -16,6 +16,7 @@ let A = function(event) {
|
||||
A.ENUM = {
|
||||
INIT: 'INIT',
|
||||
GOT_NONZERO_BALANCE: 'GOT_NONZERO_BALANCE',
|
||||
CREATED_WALLET: 'CREATED_WALLET',
|
||||
};
|
||||
|
||||
module.exports = A;
|
||||
|
@ -12,6 +12,8 @@ import {
|
||||
} from '../../BlueComponents';
|
||||
import PropTypes from 'prop-types';
|
||||
let EV = require('../../events');
|
||||
let A = require('../../analytics');
|
||||
/** @type {AppStorage} */
|
||||
let BlueApp = require('../../BlueApp');
|
||||
let loc = require('../../loc');
|
||||
const { height, width } = Dimensions.get('window');
|
||||
@ -100,6 +102,7 @@ export default class WalletsAdd extends Component {
|
||||
BlueApp.wallets.push(w);
|
||||
await BlueApp.saveToDisk();
|
||||
EV(EV.enum.WALLETS_COUNT_CHANGED);
|
||||
A(A.ENUM.CREATED_WALLET);
|
||||
}, 1);
|
||||
}}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user