Skip to content

Commit 0bba740

Browse files
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.
1 parent 33eaa93 commit 0bba740

File tree

1 file changed

+0
-1
lines changed
  • app/src/main/kotlin/com/simplemobiletools/keyboard/helpers

1 file changed

+0
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/keyboard/helpers/ClipsHelper.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ class ClipsHelper(val context: Context) {
88

99
// make sure clips have unique values
1010
fun insertClip(clip: Clip): Long {
11-
clip.value = clip.value.trim()
1211
return if (context.clipsDB.getClipWithValue(clip.value) == null) {
1312
context.clipsDB.insertOrUpdate(clip)
1413
} else {

0 commit comments

Comments
 (0)