mirror of
				https://github.com/MinimalBible/MinimalBible
				synced 2025-10-31 01:20:27 -04:00 
			
		
		
		
	Minor tweaks to use inline
This commit is contained in:
		| @ -21,9 +21,9 @@ class SearchProvider(val b: Book, val indexManager: IndexManager) { | ||||
|             return listOf() | ||||
|         } | ||||
|  | ||||
|         val searchText = defaultSearchType.decorate(text) | ||||
|         val results = b.find(searchText) | ||||
|         return results.map { it as Verse } | ||||
|         val searchText = defaultSearchType decorate text | ||||
|         val results = b find searchText | ||||
|         return results map { it as Verse } | ||||
|     } | ||||
|  | ||||
|     /** | ||||
| @ -31,6 +31,6 @@ class SearchProvider(val b: Book, val indexManager: IndexManager) { | ||||
|      * seem to register itself properly in the book metadata | ||||
|      */ | ||||
|     public fun isSearchAvailable(): Boolean = | ||||
|             indexManager.isIndexed(b) | ||||
|             indexManager isIndexed b | ||||
|  | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Bradlee Speice
					Bradlee Speice