Don't trim the text when getting it from clipboard. Fix #244
This commit is contained in:
parent
0bba740137
commit
e3c813bc36
|
@ -47,7 +47,7 @@ val Context.clipsDB: ClipsDao
|
|||
|
||||
fun Context.getCurrentClip(): String? {
|
||||
val clipboardManager = (getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager)
|
||||
return clipboardManager.primaryClip?.getItemAt(0)?.text?.trim()?.toString()
|
||||
return clipboardManager.primaryClip?.getItemAt(0)?.text?.toString()
|
||||
}
|
||||
|
||||
fun Context.getStrokeColor(): Int {
|
||||
|
|
Loading…
Reference in New Issue