Skip to content

Commit

Permalink
Merge pull request #1065 from WalletConnect/reenable-native-notify-tab
Browse files Browse the repository at this point in the history
[WalletApp, Notify] Reenable native notify integration
  • Loading branch information
llbartekll authored Aug 29, 2023
2 parents 3946d26 + d80c3f8 commit 3117e05
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ final class MainPresenter {
var viewControllers: [UIViewController] {
return [
router.walletViewController(importAccount: importAccount),
router.notificationsViewController(),
router.web3InboxViewController(),
router.settingsViewController()
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ import UIKit

enum TabPage: CaseIterable {
case wallet
case notifications
case web3Inbox
case settings

var title: String {
switch self {
case .wallet:
return "Apps"
case .notifications:
return "Notifications"
case .web3Inbox:
return "Web3Inbox"
case .settings:
Expand All @@ -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:
Expand All @@ -32,6 +37,6 @@ enum TabPage: CaseIterable {
}

static var enabledTabs: [TabPage] {
return [.wallet, .web3Inbox, .settings]
return [.wallet, .notifications, .web3Inbox, .settings]
}
}

0 comments on commit 3117e05

Please sign in to comment.