mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
fix opening third party intents
This commit is contained in:
@ -88,7 +88,7 @@ class PhotoFragment : ViewPagerFragment() {
|
|||||||
|
|
||||||
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
|
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
|
||||||
mView = (inflater.inflate(R.layout.pager_photo_item, container, false) as ViewGroup)
|
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
|
return mView
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
|||||||
}
|
}
|
||||||
|
|
||||||
mMedium = arguments!!.getSerializable(MEDIUM) as Medium
|
mMedium = arguments!!.getSerializable(MEDIUM) as Medium
|
||||||
if (!arguments!!.getBoolean(SHOULD_INIT_FRAGMENT)) {
|
if (!arguments!!.getBoolean(SHOULD_INIT_FRAGMENT, true)) {
|
||||||
return mView
|
return mView
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user