1
0
mirror of https://github.com/tateisu/SubwayTooter synced 2025-01-31 02:54:57 +01:00

Open remote url if media type is unknown

This commit is contained in:
kjwon15 2019-12-22 19:33:13 +09:00
parent 65d99b9473
commit d79c98896a

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) ->