Ejemplo n.º 1
0
        private void OnLoadHandler()
        {
            bool hasWallet = WalletManager.CheckAnyWalletExisted();

            if (!hasWallet)
            {
                CreateWalletPopupRequest.Raise(new WalletInitNotification {
                    Title = "创建新钱包"
                }, this.Callback);
            }
            else
            {
                LoginWalletPopupRequest.Raise(new WalletInitNotification {
                    Title = "登录"
                }, this.Callback);
            }

            this.ChangeNetwork();
        }