Merge pull request #119 from Kjwon15/fix-unknown-media
Open remote url if media type is unknown
This commit is contained in:
commit
447c945fda
|
@ -2169,7 +2169,7 @@ internal class ItemViewHolder(
|
||||||
|
|
||||||
// unknownが1枚だけなら内蔵ビューアを使わずにインテントを投げる
|
// unknownが1枚だけなら内蔵ビューアを使わずにインテントを投げる
|
||||||
item.type == TootAttachmentType.Unknown && media_attachments.size == 1 ->
|
item.type == TootAttachmentType.Unknown && media_attachments.size == 1 ->
|
||||||
App1.openCustomTab(activity, item)
|
App1.openCustomTab(activity, item.remote_url!!)
|
||||||
|
|
||||||
// 内蔵メディアビューアを使う
|
// 内蔵メディアビューアを使う
|
||||||
Pref.bpUseInternalMediaViewer(App1.pref) ->
|
Pref.bpUseInternalMediaViewer(App1.pref) ->
|
||||||
|
|
Loading…
Reference in New Issue