mirror of
				https://github.com/SimpleMobileTools/Simple-Notes.git
				synced 2025-06-05 17:00:23 +02:00 
			
		
		
		
	use the adjusted primary color for highlighting at search
This commit is contained in:
		| @@ -63,7 +63,7 @@ android { | ||||
| } | ||||
|  | ||||
| dependencies { | ||||
|     implementation 'com.github.SimpleMobileTools:Simple-Commons:0ed7becb4d' | ||||
|     implementation 'com.github.SimpleMobileTools:Simple-Commons:47f816b35e' | ||||
|     implementation 'androidx.constraintlayout:constraintlayout:2.1.3' | ||||
|     implementation 'androidx.documentfile:documentfile:1.0.1' | ||||
|  | ||||
|   | ||||
| @@ -487,7 +487,7 @@ class MainActivity : SimpleActivity() { | ||||
|  | ||||
|             if (text.isNotBlank() && text.length > 1) { | ||||
|                 searchMatches = noteView.value.searchMatches(text) | ||||
|                 noteView.highlightText(text, config.primaryColor) | ||||
|                 noteView.highlightText(text, getAdjustedPrimaryColor()) | ||||
|             } | ||||
|  | ||||
|             currentTextFragment?.setTextWatcher() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user