mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Add function in interface to get list of genres
This commit is contained in:
		| @@ -28,6 +28,10 @@ interface Manga : SManga { | ||||
|         return chapter_flags and SORT_MASK == SORT_DESC | ||||
|     } | ||||
|  | ||||
|     fun getGenres(): List<String>? { | ||||
|         return genre?.split(", ")?.map { it.trim() } | ||||
|     } | ||||
|  | ||||
|     // Used to display the chapter's title one way or another | ||||
|     var displayMode: Int | ||||
|         get() = chapter_flags and DISPLAY_MASK | ||||
|   | ||||
		Reference in New Issue
	
	Block a user