Merge pull request #119 from Kjwon15/fix-unknown-media

Open remote url if media type is unknown
This commit is contained in:
tateisu 2019-12-22 21:35:02 +09:00 committed by GitHub
commit 447c945fda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2169,7 +2169,7 @@ internal class ItemViewHolder(
// unknownが1枚だけなら内蔵ビューアを使わずにインテントを投げる
item.type == TootAttachmentType.Unknown && media_attachments.size == 1 ->
App1.openCustomTab(activity, item)
App1.openCustomTab(activity, item.remote_url!!)
// 内蔵メディアビューアを使う
Pref.bpUseInternalMediaViewer(App1.pref) ->