Don't trim the text when inserting into local DB via 'Manage clipboard items'. But value is also trimmed in the EditText extension from Simple-Commons.
This commit is contained in:
parent
33eaa936a1
commit
0bba740137
1 changed files with 0 additions and 1 deletions
|
@ -8,7 +8,6 @@ class ClipsHelper(val context: Context) {
|
|||
|
||||
// make sure clips have unique values
|
||||
fun insertClip(clip: Clip): Long {
|
||||
clip.value = clip.value.trim()
|
||||
return if (context.clipsDB.getClipWithValue(clip.value) == null) {
|
||||
context.clipsDB.insertOrUpdate(clip)
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue