mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-06-05 21:49:26 +02:00
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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user