chore: set title label for favorite scene

This commit is contained in:
CMK 2021-04-08 11:26:46 +08:00
parent 1deb75d041
commit 74ee93e983
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ extension FavoriteViewController {
view.backgroundColor = Asset.Colors.Background.systemGroupedBackground.color
navigationItem.titleView = titleView
titleView.update(title: L10n.Scene.Favorite.title, subtitle: nil)
tableView.translatesAutoresizingMaskIntoConstraints = false
view.addSubview(tableView)