mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
fix opening third party intents
This commit is contained in:
parent
6436934d83
commit
6088da8421
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
|
||||
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
|
||||
mView = (inflater.inflate(R.layout.pager_photo_item, container, false) as ViewGroup)
|
||||
if (!arguments!!.getBoolean(SHOULD_INIT_FRAGMENT)) {
|
||||
if (!arguments!!.getBoolean(SHOULD_INIT_FRAGMENT, true)) {
|
||||
return mView
|
||||
}
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
|||
}
|
||||
|
||||
mMedium = arguments!!.getSerializable(MEDIUM) as Medium
|
||||
if (!arguments!!.getBoolean(SHOULD_INIT_FRAGMENT)) {
|
||||
if (!arguments!!.getBoolean(SHOULD_INIT_FRAGMENT, true)) {
|
||||
return mView
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue