mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Merge pull request #78 from RyanRory/delete-thread-ui-fix
fix the issue that the cell is not showing after swiped out
This commit is contained in:
commit
06dae527a6
@ -282,6 +282,12 @@ class HomeActivity : PassphraseRequiredActionBarActivity, ConversationClickListe
|
|||||||
viewHolder.itemView.alpha = alpha
|
viewHolder.itemView.alpha = alpha
|
||||||
viewHolder.itemView.translationX = dx
|
viewHolder.itemView.translationX = dx
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun clearView(recyclerView: RecyclerView, viewHolder: RecyclerView.ViewHolder) {
|
||||||
|
super.clearView(recyclerView, viewHolder)
|
||||||
|
viewHolder.itemView.alpha = 1.0f
|
||||||
|
viewHolder.itemView.translationX = 0.0f
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// endregion
|
// endregion
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user