mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-02-01 09:16:47 +01:00
fixed NPE
This commit is contained in:
parent
33cfaefd50
commit
8abb62be16
@ -16,7 +16,7 @@ import org.mariotaku.twidere.model.ParcelableMedia
|
||||
class ExternalBrowserPageFragment : MediaViewerFragment() {
|
||||
|
||||
override fun onCreateMediaView(inflater: LayoutInflater, parent: ViewGroup,
|
||||
savedInstanceState: Bundle): View {
|
||||
savedInstanceState: Bundle?): View {
|
||||
return inflater.inflate(R.layout.layout_media_viewer_browser_fragment, parent, false)
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ class GifPageFragment : CacheDownloadMediaViewerFragment() {
|
||||
return downloadUri != null
|
||||
}
|
||||
|
||||
override fun onCreateMediaView(inflater: LayoutInflater, parent: ViewGroup, savedInstanceState: Bundle): View {
|
||||
override fun onCreateMediaView(inflater: LayoutInflater, parent: ViewGroup, savedInstanceState: Bundle?): View {
|
||||
return inflater.inflate(R.layout.layout_media_viewer_gif, parent, false)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user