From f81d6a3a33c2015cef022a4621996c906c06a25f Mon Sep 17 00:00:00 2001 From: Naveen Singh Date: Sat, 26 Jul 2025 13:49:33 +0530 Subject: [PATCH 1/2] fix: do case-sensitive search when creating clips See: https://github.com/FossifyOrg/Keyboard/issues/202 --- app/src/main/kotlin/org/fossify/keyboard/interfaces/ClipsDao.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/org/fossify/keyboard/interfaces/ClipsDao.kt b/app/src/main/kotlin/org/fossify/keyboard/interfaces/ClipsDao.kt index 25350426..429a33bc 100644 --- a/app/src/main/kotlin/org/fossify/keyboard/interfaces/ClipsDao.kt +++ b/app/src/main/kotlin/org/fossify/keyboard/interfaces/ClipsDao.kt @@ -11,7 +11,7 @@ interface ClipsDao { @Query("SELECT * FROM clips ORDER BY id") fun getClips(): List - @Query("SELECT id FROM clips WHERE value = :value COLLATE NOCASE") + @Query("SELECT id FROM clips WHERE value = :value") fun getClipWithValue(value: String): Long? @Insert(onConflict = OnConflictStrategy.REPLACE) From a6975a711e9e95c6c9b33779904f77b75bb778f2 Mon Sep 17 00:00:00 2001 From: Naveen Singh Date: Sat, 26 Jul 2025 13:55:07 +0530 Subject: [PATCH 2/2] docs: update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80ba1346..06c37f8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed +- Clipboard saving is now case-sensitive ([#202]) ## [1.2.2] - 2025-07-18 ### Changed @@ -51,6 +53,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release +[#202]: https://github.com/FossifyOrg/Keyboard/issues/202 + [Unreleased]: https://github.com/FossifyOrg/Keyboard/compare/1.2.2...HEAD [1.2.2]: https://github.com/FossifyOrg/Keyboard/compare/1.2.1...1.2.2 [1.2.1]: https://github.com/FossifyOrg/Keyboard/compare/1.2.0...1.2.1