Skip to content

Commit

Permalink
fix: copy build info header on version name click in about activity
Browse files Browse the repository at this point in the history
  • Loading branch information
itsaky committed Dec 28, 2023
1 parent a0241d8 commit ae21fb0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ class AboutActivity : LimitlessIDEActivity() {
ideVersion.isClickable = true
ideVersion.isFocusable = true
ideVersion.setBackgroundResource(R.drawable.bg_ripple)
ideVersion.setOnClickListener { view ->
ClipboardUtils.copyText((view as TextView).text.toString())
ideVersion.setOnClickListener {
ClipboardUtils.copyText(BuildInfoUtils.getBuildInfoHeader())
flashSuccess(R.string.copied)
}
}
Expand Down

0 comments on commit ae21fb0

Please sign in to comment.