mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Fix a crash
This commit is contained in:
		| @@ -45,10 +45,12 @@ public class MyAnimeListFragment extends BaseRxFragment<MyAnimeListPresenter> { | ||||
|     } | ||||
|  | ||||
|     public void setMangaSync(MangaSync mangaSync) { | ||||
|         title.setText(mangaSync.title); | ||||
|         chapters.setText(mangaSync.last_chapter_read + ""); | ||||
|         score.setText(mangaSync.score == 0 ? "-" : decimalFormat.format(mangaSync.score)); | ||||
|         status.setText(getPresenter().myAnimeList.getStatus(mangaSync.status)); | ||||
|         if (mangaSync != null) { | ||||
|             title.setText(mangaSync.title); | ||||
|             chapters.setText(mangaSync.last_chapter_read + ""); | ||||
|             score.setText(mangaSync.score == 0 ? "-" : decimalFormat.format(mangaSync.score)); | ||||
|             status.setText(getPresenter().myAnimeList.getStatus(mangaSync.status)); | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     private void showSearchDialog() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user