Skip to content

Commit

Permalink
Merge pull request #48 from rnystrom/main
Browse files Browse the repository at this point in the history
Forward `toolbarItems` from VC instance
  • Loading branch information
krzysztofzablocki committed Aug 1, 2022
2 parents fbaa3a8 + 9846ce8 commit a45509e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Inject/Integrations/Hosts.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public class _InjectableViewControllerHost<Hosted: InjectViewControllerType>: In
navigationItem.leftBarButtonItems = instance.navigationItem.leftBarButtonItems
navigationItem.rightBarButtonItems = instance.navigationItem.rightBarButtonItems
navigationItem.largeTitleDisplayMode = instance.navigationItem.largeTitleDisplayMode
toolbarItems = instance.toolbarItems
self.hidesBottomBarWhenPushed = instance.hidesBottomBarWhenPushed
#endif
#endif
Expand Down

0 comments on commit a45509e

Please sign in to comment.