mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Remove JVMOverload in ClipboardHelper
This commit is contained in:
@@ -47,7 +47,6 @@ class ClipboardHelper(private val context: Context) {
|
||||
return mClipboardManager
|
||||
}
|
||||
|
||||
@JvmOverloads
|
||||
fun timeoutCopyToClipboard(text: String, toastString: String = "") {
|
||||
if (toastString.isNotEmpty())
|
||||
Toast.makeText(context, toastString, Toast.LENGTH_LONG).show()
|
||||
@@ -98,7 +97,6 @@ class ClipboardHelper(private val context: Context) {
|
||||
}
|
||||
|
||||
@Throws(ClipboardException::class)
|
||||
@JvmOverloads
|
||||
fun cleanClipboard(label: String = "") {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
||||
getClipboardManager()?.clearPrimaryClip()
|
||||
|
||||
Reference in New Issue
Block a user