mirror of
				https://github.com/SimpleMobileTools/Simple-Notes.git
				synced 2025-06-05 17:00:23 +02:00 
			
		
		
		
	trim file extension at opening a checklist file
This commit is contained in:
		| @@ -353,7 +353,7 @@ class MainActivity : SimpleActivity() { | ||||
|                     val fileText = it.readText().trim() | ||||
|                     val checklistItems = fileText.parseChecklistItems() | ||||
|                     if (checklistItems != null) { | ||||
|                         val note = Note(null, it.absolutePath.getFilenameFromPath(), fileText, TYPE_CHECKLIST) | ||||
|                         val note = Note(null, it.absolutePath.getFilenameFromPath().substringBeforeLast('.'), fileText, TYPE_CHECKLIST) | ||||
|                         addNewNote(note) | ||||
|                     } else { | ||||
|                         runOnUiThread { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user