diff --git a/UnstoppableWallet/UnstoppableWallet/Assets.xcassets/Icons/filled_reddit_24.imageset/Contents.json b/UnstoppableWallet/UnstoppableWallet/Assets.xcassets/Icons/filled_reddit_24.imageset/Contents.json deleted file mode 100644 index 1f694c9040..0000000000 --- a/UnstoppableWallet/UnstoppableWallet/Assets.xcassets/Icons/filled_reddit_24.imageset/Contents.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "reddit@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "reddit@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/UnstoppableWallet/UnstoppableWallet/Assets.xcassets/Icons/filled_reddit_24.imageset/reddit@2x.png b/UnstoppableWallet/UnstoppableWallet/Assets.xcassets/Icons/filled_reddit_24.imageset/reddit@2x.png deleted file mode 100644 index f36d1debcb..0000000000 Binary files a/UnstoppableWallet/UnstoppableWallet/Assets.xcassets/Icons/filled_reddit_24.imageset/reddit@2x.png and /dev/null differ diff --git a/UnstoppableWallet/UnstoppableWallet/Assets.xcassets/Icons/filled_reddit_24.imageset/reddit@3x.png b/UnstoppableWallet/UnstoppableWallet/Assets.xcassets/Icons/filled_reddit_24.imageset/reddit@3x.png deleted file mode 100644 index 30a4114501..0000000000 Binary files a/UnstoppableWallet/UnstoppableWallet/Assets.xcassets/Icons/filled_reddit_24.imageset/reddit@3x.png and /dev/null differ diff --git a/UnstoppableWallet/UnstoppableWallet/Core/Providers/AppConfig.swift b/UnstoppableWallet/UnstoppableWallet/Core/Providers/AppConfig.swift index a545ae100b..c56967ecd6 100644 --- a/UnstoppableWallet/UnstoppableWallet/Core/Providers/AppConfig.swift +++ b/UnstoppableWallet/UnstoppableWallet/Core/Providers/AppConfig.swift @@ -15,7 +15,6 @@ enum AppConfig { static let appGitHubRepository = "unstoppable-wallet-ios" static let appTwitterAccount = "unstoppablebyhs" static let appTelegramAccount = "unstoppable_announcements" - static let appRedditAccount = "UNSTOPPABLEWallet" static let mempoolSpaceUrl = "https://mempool.space" static let guidesIndexUrl = URL(string: "https://raw.githubusercontent.com/horizontalsystems/blockchain-crypto-guides/v1.2/index.json")! static let faqIndexUrl = URL(string: "https://raw.githubusercontent.com/horizontalsystems/unstoppable-wallet-website/master/src/faq.json")! diff --git a/UnstoppableWallet/UnstoppableWallet/Modules/Main/ReleaseNotesViewController.swift b/UnstoppableWallet/UnstoppableWallet/Modules/Main/ReleaseNotesViewController.swift index 03348fb459..063b1a82f6 100644 --- a/UnstoppableWallet/UnstoppableWallet/Modules/Main/ReleaseNotesViewController.swift +++ b/UnstoppableWallet/UnstoppableWallet/Modules/Main/ReleaseNotesViewController.swift @@ -66,17 +66,6 @@ class ReleaseNotesViewController: MarkdownViewController { telegramButton.addTarget(self, action: #selector(onTelegramTap), for: .touchUpInside) telegramButton.setImage(UIImage(named: "filled_telegram_24"), for: .normal) - let redditButton = UIButton() - bottomHolder.addSubview(redditButton) - redditButton.snp.makeConstraints { maker in - maker.leading.equalTo(telegramButton.snp.trailing).offset(CGFloat.margin8) - maker.top.bottom.equalToSuperview() - maker.width.equalTo(52) - } - - redditButton.addTarget(self, action: #selector(onRedditTap), for: .touchUpInside) - redditButton.setImage(UIImage(named: "filled_reddit_24"), for: .normal) - let followUsLabel = UILabel() bottomHolder.addSubview(followUsLabel) followUsLabel.snp.makeConstraints { maker in @@ -116,10 +105,6 @@ class ReleaseNotesViewController: MarkdownViewController { @objc private func onTelegramTap() { urlManager.open(url: "https://t.me/\(AppConfig.appTelegramAccount)", from: nil) } - - @objc private func onRedditTap() { - urlManager.open(url: "https://www.reddit.com/r/\(AppConfig.appRedditAccount)", from: nil) - } } extension ReleaseNotesViewController: UIAdaptivePresentationControllerDelegate { diff --git a/UnstoppableWallet/UnstoppableWallet/Modules/MultiSwap/AddressView/AddressViewNew.swift b/UnstoppableWallet/UnstoppableWallet/Modules/MultiSwap/AddressView/AddressViewNew.swift index e105afdc95..007dba3090 100644 --- a/UnstoppableWallet/UnstoppableWallet/Modules/MultiSwap/AddressView/AddressViewNew.swift +++ b/UnstoppableWallet/UnstoppableWallet/Modules/MultiSwap/AddressView/AddressViewNew.swift @@ -61,10 +61,12 @@ struct AddressViewNew: View { ScanQrViewNew(pasteEnabled: true) { viewModel.didFetch(qrText: $0) } + .ignoresSafeArea() } .sheet(isPresented: $viewModel.contactsPresented) { if let blockchainType = viewModel.blockchainType { ContactBookView(mode: .select(blockchainType, viewModel), presented: true) + .ignoresSafeArea() } } }