Skip to content

Commit

Permalink
Fix detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
RenanLukas committed Jun 10, 2024
1 parent ddf7bb5 commit bba2471
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ import android.content.Context
import android.util.AttributeSet
import android.util.TypedValue
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.LinearLayout
import androidx.core.view.isVisible
import com.google.android.material.textview.MaterialTextView
import org.wordpress.android.R
import org.wordpress.android.WordPress
import org.wordpress.android.databinding.ReaderPostDetailHeaderViewBinding
Expand Down Expand Up @@ -123,7 +120,7 @@ class ReaderPostDetailHeaderView @JvmOverloads constructor(
setOnClickListener { followButtonUiState.onFollowButtonClicked?.invoke() }
}

private fun ReaderPostDetailHeaderViewBinding.setAuthorAndDate(authorName: String?, dateLine: String) = with(binding.layoutBlogSection) {
private fun setAuthorAndDate(authorName: String?, dateLine: String) = with(binding.layoutBlogSection) {
uiHelpers.setTextOrHide(blogSectionTextAuthor, authorName)
uiHelpers.setTextOrHide(blogSectionTextDateline, dateLine)

Expand Down

0 comments on commit bba2471

Please sign in to comment.