File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
WooCommerce/Classes/ViewRelated Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 11import UIKit
2+ import Gridicons
23
34
45// MARK: - NotificationsViewController
56//
67class NotificationsViewController : UIViewController {
78
9+ /// Main TableView.
10+ ///
11+ @IBOutlet private var tableView : UITableView !
12+
13+
814 // MARK: - View Lifecycle
915
16+ required init ? ( coder aDecoder: NSCoder ) {
17+ super. init ( coder: aDecoder)
18+ setupTabBarItem ( )
19+ }
20+
1021 override func viewDidLoad( ) {
1122 super. viewDidLoad ( )
1223 view. backgroundColor = StyleManager . tableViewBackgroundColor
1324
1425 displayPlaceholder ( )
1526 }
1627
17- override func viewDidAppear( _ animated: Bool ) {
18- super. viewDidAppear ( animated)
28+
29+ /// Setup: TabBar
30+ ///
31+ func setupTabBarItem( ) {
32+ tabBarItem. title = NSLocalizedString ( " Notifications " , comment: " Notifications tab title " )
33+ tabBarItem. image = Gridicon . iconOfType ( . statsAlt)
1934 }
2035
2136 /// Displays the Empty State Overlay.
You can’t perform that action at this time.
0 commit comments