Backport #1108 Switch back to default privacy level after sending a Mastodon private toot.
This commit is contained in:
parent
e2acc418d4
commit
36a8f45a19
|
@ -687,6 +687,7 @@ class StatusViewHolder(private val adapter: IStatusesAdapter<*>, itemView: View)
|
|||
listener.onItemActionClick(holder, R.id.favorite, position)
|
||||
}
|
||||
holder.mediaLabel -> {
|
||||
if (position < 0) return
|
||||
val firstMedia = holder.adapter.getStatus(position).media?.firstOrNull()
|
||||
if (firstMedia != null) {
|
||||
listener.onMediaClick(holder, v, firstMedia, position)
|
||||
|
|
Loading…
Reference in New Issue