mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Implemented review changes
Shorter UI text and >= date comparison instead of >
(cherry picked from commit 6ba052d2af)
			
			
This commit is contained in:
		
				
					committed by
					
						 Jobobby04
						Jobobby04
					
				
			
			
				
	
			
			
			
						parent
						
							7affb9ab63
						
					
				
				
					commit
					8435be1b1f
				
			| @@ -166,10 +166,8 @@ class HistoryPresenter : BasePresenter<HistoryController>() { | ||||
|                     } | ||||
|             } | ||||
|             Manga.SORTING_UPLOAD_DATE -> { | ||||
|                 val dateUpload = chapter.date_upload | ||||
|                 ((currChapterIndex + 1) until chapters.size) | ||||
|                     .map { chapters[it] } | ||||
|                     .firstOrNull { it.date_upload > dateUpload } | ||||
|                 chapters.drop(currChapterIndex + 1) | ||||
|                         .firstOrNull { it.date_upload >= chapter.date_upload} | ||||
|             } | ||||
|             else -> throw NotImplementedError("Unknown sorting method") | ||||
|         } | ||||
|   | ||||
| @@ -478,7 +478,7 @@ | ||||
|     <string name="sorting_mode">Sorting mode</string> | ||||
|     <string name="sort_by_source">By source</string> | ||||
|     <string name="sort_by_number">By chapter number</string> | ||||
|     <string name="sort_by_upload_date">By chapter upload date</string> | ||||
|     <string name="sort_by_upload_date">By upload date</string> | ||||
|     <string name="manga_download">Download</string> | ||||
|     <string name="custom_download">Download custom amount</string> | ||||
|     <string name="download_1">Next chapter</string> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user