Esempio n. 1
0
    protected override void OnOkClicked()
    {
        userWalletManager.SetWalletAccount(currentlySelectedAddress - 1);
        userWalletManager.SetWalletPath(addressesIndex == 0 ? Wallet.DEFAULT_PATH : Wallet.ELECTRUM_LEDGER_PATH);

        tradableAssetNotificationManager.LoadNewNotificationList();

        lockedPRPSManager.ClearList();
        lockedPRPSManager.PeriodicUpdate();
        lockPRPSManager.PeriodicUpdate();

        ethereumTransactionManager.ClearTransactionList();
        ethereumTransactionManager.PeriodicUpdate();
        ethereumTransactionButtonManager.ProcessNewAssetList();

        tradableAssetButtonManager.ResetButtonNotifications();
        tradableAssetManager.PeriodicUpdate();

        OnAccountChanged?.Invoke(currentlySelectedAddress - 1);
    }