From 4db642eee663ce5f989d43c39018de090809c959 Mon Sep 17 00:00:00 2001 From: Esenbek Date: Fri, 22 Sep 2023 15:12:07 +0600 Subject: [PATCH] Remove links to OpenSea website --- .../NftAsset/Overview/NftAssetOverviewViewModel.swift | 6 +++--- .../Overview/NftCollectionOverviewViewModel.swift | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/UnstoppableWallet/UnstoppableWallet/Modules/NftAsset/Overview/NftAssetOverviewViewModel.swift b/UnstoppableWallet/UnstoppableWallet/Modules/NftAsset/Overview/NftAssetOverviewViewModel.swift index 33a641a417..5a44124865 100644 --- a/UnstoppableWallet/UnstoppableWallet/Modules/NftAsset/Overview/NftAssetOverviewViewModel.swift +++ b/UnstoppableWallet/UnstoppableWallet/Modules/NftAsset/Overview/NftAssetOverviewViewModel.swift @@ -138,9 +138,9 @@ class NftAssetOverviewViewModel { if let url = asset.externalLink { viewItems.append(LinkViewItem(type: .website, url: url)) } - if let title = service.providerTitle, let link = asset.providerLink { - viewItems.append(LinkViewItem(type: .provider(title: title), url: link)) - } +// if let title = service.providerTitle, let link = asset.providerLink { +// viewItems.append(LinkViewItem(type: .provider(title: title), url: link)) +// } if let url = collection.discordLink { viewItems.append(LinkViewItem(type: .discord, url: url)) } diff --git a/UnstoppableWallet/UnstoppableWallet/Modules/NftCollection/Overview/NftCollectionOverviewViewModel.swift b/UnstoppableWallet/UnstoppableWallet/Modules/NftCollection/Overview/NftCollectionOverviewViewModel.swift index 2a707159aa..b8e03daa40 100644 --- a/UnstoppableWallet/UnstoppableWallet/Modules/NftCollection/Overview/NftCollectionOverviewViewModel.swift +++ b/UnstoppableWallet/UnstoppableWallet/Modules/NftCollection/Overview/NftCollectionOverviewViewModel.swift @@ -73,9 +73,9 @@ class NftCollectionOverviewViewModel { viewItems.append(LinkViewItem(type: .website, url: url)) } - if let providerLink = service.providerLink { - viewItems.append(LinkViewItem(type: .provider(title: providerLink.title), url: providerLink.url)) - } +// if let providerLink = service.providerLink { +// viewItems.append(LinkViewItem(type: .provider(title: providerLink.title), url: providerLink.url)) +// } if let url = collection.discordLink { viewItems.append(LinkViewItem(type: .discord, url: url))