Skip to content

Commit

Permalink
Change to OnViewCreated
Browse files Browse the repository at this point in the history
  • Loading branch information
baronhsieh2005 committed Sep 9, 2024
1 parent 22a3761 commit 8e3a567
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,15 @@ class MenuFragment : Fragment() {
pager.adapter = pageAdapter
v.setBackgroundColor(Color.WHITE)
mActivity.addTabs(pageAdapter as TabAdapter, pager, true)
mActivity.toolbar.visibility = View.VISIBLE
mActivity.hideBottomBar()
return v
}

override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
mActivity.toolbar.visibility = View.VISIBLE
}

override fun onCreateOptionsMenu(
menu: Menu,
inflater: MenuInflater,
Expand Down

0 comments on commit 8e3a567

Please sign in to comment.