mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 13:50:30 +05:30
feat: possibility to copy device info in about dialog
This commit is contained in:
parent
4f03265f9d
commit
7a4635d873
@ -104,6 +104,9 @@ class AboutActivity : BaseActivity() {
|
||||
MaterialAlertDialogBuilder(this)
|
||||
.setTitle(R.string.device_info)
|
||||
.setMessage(text)
|
||||
.setNegativeButton(R.string.copy_tooltip) { _, _ ->
|
||||
ClipboardHelper.save(this@AboutActivity, text = text)
|
||||
}
|
||||
.setPositiveButton(R.string.okay, null)
|
||||
.show()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user