mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
refactor+
This commit is contained in:
parent
1b84e65fd3
commit
917639857f
2 changed files with 2 additions and 3 deletions
|
@ -754,8 +754,8 @@ open class ResultFragmentPhone : FullScreenPlayer() {
|
||||||
resultReloadConnectionOpenInBrowser.isVisible = data is Resource.Failure
|
resultReloadConnectionOpenInBrowser.isVisible = data is Resource.Failure
|
||||||
|
|
||||||
resultTitle.setOnLongClickListener {
|
resultTitle.setOnLongClickListener {
|
||||||
val titleString = txt(R.string.title)
|
val titleCopyLabel = txt(R.string.title)
|
||||||
clipboardHelper(titleString, resultTitle.text)
|
clipboardHelper(titleCopyLabel, resultTitle.text)
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,7 +138,6 @@ object UIHelper {
|
||||||
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.S_V2) {
|
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.S_V2) {
|
||||||
showToast("${label.asString(context!!)} ${labelSuffix.asString(context!!)}")
|
showToast("${label.asString(context!!)} ${labelSuffix.asString(context!!)}")
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (t: Throwable) {
|
} catch (t: Throwable) {
|
||||||
Log.e("ClipboardService", "$t")
|
Log.e("ClipboardService", "$t")
|
||||||
showToast(R.string.clipboard_too_large)
|
showToast(R.string.clipboard_too_large)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue