mirror of
				https://github.com/SimpleMobileTools/Simple-Notes.git
				synced 2025-06-05 17:00:23 +02:00 
			
		
		
		
	adding a null check
This commit is contained in:
		| @@ -87,7 +87,7 @@ class NoteFragment : Fragment() { | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     fun getCurrentNoteViewText() = view.notes_view.text.toString() | ||||
|     fun getCurrentNoteViewText() = view.notes_view?.text.toString() | ||||
|  | ||||
|     private fun getTextGravity() = when (context.config.gravity) { | ||||
|         GRAVITY_CENTER -> Gravity.CENTER_HORIZONTAL | ||||
|   | ||||
		Reference in New Issue
	
	Block a user