fix opening third party intents

This commit is contained in:
tibbi 2019-05-15 15:01:17 +02:00
parent 6436934d83
commit 6088da8421
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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
}