mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Resubscribe to library when a change of type enter occurs. Resolves #1093
This commit is contained in:
		| @@ -167,14 +167,10 @@ class LibraryController( | ||||
|         super.onChangeStarted(handler, type) | ||||
|         if (type.isEnter) { | ||||
|             activity?.tabs?.setupWithViewPager(view?.view_pager) | ||||
|             presenter.subscribeLibrary() | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     override fun onAttach(view: View) { | ||||
|         super.onAttach(view) | ||||
|         presenter.subscribeLibrary() | ||||
|     } | ||||
|  | ||||
|     override fun onDestroyView(view: View) { | ||||
|         super.onDestroyView(view) | ||||
|         adapter = null | ||||
|   | ||||
		Reference in New Issue
	
	Block a user