mirror of
				https://github.com/SimpleMobileTools/Simple-Notes.git
				synced 2025-06-05 17:00:23 +02:00 
			
		
		
		
	make the existing title checking incasesensitive
This commit is contained in:
		@@ -71,7 +71,7 @@ class DBHelper private constructor(private val mContext: Context) : SQLiteOpenHe
 | 
			
		||||
 | 
			
		||||
    fun doesTitleExist(title: String): Boolean {
 | 
			
		||||
        val cols = arrayOf(COL_ID)
 | 
			
		||||
        val selection = "$COL_TITLE = ?"
 | 
			
		||||
        val selection = "$COL_TITLE = ? COLLATE NOCASE"
 | 
			
		||||
        val selectionArgs = arrayOf(title)
 | 
			
		||||
        var cursor: Cursor? = null
 | 
			
		||||
        try {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user