TP-68501 | Narayan | Copy toast fix (#11056)
This commit is contained in:
committed by
GitHub
parent
1dcd7aa96d
commit
5c5b600252
@@ -426,6 +426,5 @@ fun copyToClipboard(
|
||||
) {
|
||||
val clipData = ClipData.newPlainText("label", text)
|
||||
clipboardManager.setPrimaryClip(clipData)
|
||||
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.S_V2)
|
||||
Toast.makeText(context, toastText, Toast.LENGTH_SHORT).show()
|
||||
Toast.makeText(context, toastText, Toast.LENGTH_SHORT).show()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user