Skip to content

Commit

Permalink
get screen size onCreate
Browse files Browse the repository at this point in the history
  • Loading branch information
celalbaydar committed Mar 28, 2024
1 parent ea9709a commit 72ca1ba
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class ImagePickerFragment(private val resultCallback: ((Results) -> Unit)? = nul
super.onCreate(savedInstanceState)
options = arguments?.getParcelable(ARG_PARAM_PIX) ?: Options()
requireActivity().let {
it.getScreenSize()
it.actionBar?.hide()
}
}
Expand Down

0 comments on commit 72ca1ba

Please sign in to comment.