Removed useless logs

This commit is contained in:
mjaillot 2020-05-07 16:25:34 +02:00
parent 466ec5748c
commit b7a00bbceb
2 changed files with 2 additions and 4 deletions

View File

@ -309,11 +309,10 @@ data class Status(
credential: String,
isBookmarked: Boolean
) {
Log.e("IS BOOKMARKED", isBookmarked.toString())
// Set initial state
holder.bookmarker.isChecked = isBookmarked
//Activate the liker
// Activate bookmarker
holder.bookmarker.setEventListener { _, buttonState ->
if (buttonState) {
Log.e("BUTTON ACTIVE", buttonState.toString())

View File

@ -169,7 +169,6 @@ abstract class PostUtils {
override fun onResponse(call: Call<Status>, response: Response<Status>) {
if(response.code() == 200) {
val resp = response.body()!!
Log.e("RESPONSE", " bookmark status")
// Update post bookmarked state
holder.bookmarker.isChecked = resp.bookmarked