From d80c3f84dbc7eb8f000fce0df809382b29ace611 Mon Sep 17 00:00:00 2001 From: Bartosz Rozwarski Date: Tue, 29 Aug 2023 14:24:35 +0100 Subject: [PATCH] reenable native notify integration --- .../PresentationLayer/Wallet/Main/MainPresenter.swift | 1 + .../PresentationLayer/Wallet/Main/Model/TabPage.swift | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Example/WalletApp/PresentationLayer/Wallet/Main/MainPresenter.swift b/Example/WalletApp/PresentationLayer/Wallet/Main/MainPresenter.swift index 7167284c2..4be0dc58a 100644 --- a/Example/WalletApp/PresentationLayer/Wallet/Main/MainPresenter.swift +++ b/Example/WalletApp/PresentationLayer/Wallet/Main/MainPresenter.swift @@ -16,6 +16,7 @@ final class MainPresenter { var viewControllers: [UIViewController] { return [ router.walletViewController(importAccount: importAccount), + router.notificationsViewController(), router.web3InboxViewController(), router.settingsViewController() ] diff --git a/Example/WalletApp/PresentationLayer/Wallet/Main/Model/TabPage.swift b/Example/WalletApp/PresentationLayer/Wallet/Main/Model/TabPage.swift index 1c93883ad..3f2051baf 100644 --- a/Example/WalletApp/PresentationLayer/Wallet/Main/Model/TabPage.swift +++ b/Example/WalletApp/PresentationLayer/Wallet/Main/Model/TabPage.swift @@ -2,6 +2,7 @@ import UIKit enum TabPage: CaseIterable { case wallet + case notifications case web3Inbox case settings @@ -9,6 +10,8 @@ enum TabPage: CaseIterable { switch self { case .wallet: return "Apps" + case .notifications: + return "Notifications" case .web3Inbox: return "Web3Inbox" case .settings: @@ -20,6 +23,8 @@ enum TabPage: CaseIterable { switch self { case .wallet: return UIImage(systemName: "house.fill")! + case .notifications: + return UIImage(systemName: "bell.fill")! case .web3Inbox: return UIImage(systemName: "bell.fill")! case .settings: @@ -32,6 +37,6 @@ enum TabPage: CaseIterable { } static var enabledTabs: [TabPage] { - return [.wallet, .web3Inbox, .settings] + return [.wallet, .notifications, .web3Inbox, .settings] } }