Skip to content

Commit

Permalink
Merge pull request #131 from Tuditi/feat/enable-iota-bloom-link
Browse files Browse the repository at this point in the history
feat: enable bloom iota link
  • Loading branch information
adamunchained authored Feb 12, 2024
2 parents 8a9e7df + b4b9bbb commit 3eddd14
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input } from '@angular/core';
import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
import { DEFAULT_NETWORK, NETWORK_DETAIL, Network, WEN_NAME } from '@build-5/interfaces';
import { NETWORK_DETAIL, Network, WEN_NAME } from '@build-5/interfaces';

@Component({
selector: 'wen-wallet-deeplink',
Expand Down Expand Up @@ -90,11 +90,9 @@ export class WalletDeeplinkComponent {
}

private getBloomDeepLink(): SafeUrl {
if (!this._network || this._network === Network.IOTA || this._network === Network.ATOI) {
// TODO: IOTA network support in Bloom
if (!this._network) {
return '';
} else {
// Shimmer Network
const parameters = {
address: this.targetAddress,
baseCoinAmount: Number(this.targetAmount ?? 0).toFixed(0),
Expand Down

0 comments on commit 3eddd14

Please sign in to comment.