mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Fix #819. Update support lib
This commit is contained in:
		| @@ -30,8 +30,8 @@ import eu.kanade.tachiyomi.ui.manga.MangaController | ||||
| import eu.kanade.tachiyomi.util.* | ||||
| import eu.kanade.tachiyomi.widget.AutofitRecyclerView | ||||
| import eu.kanade.tachiyomi.widget.DrawerSwipeCloseListener | ||||
| import kotlinx.android.synthetic.main.main_activity.* | ||||
| import kotlinx.android.synthetic.main.catalogue_controller.view.* | ||||
| import kotlinx.android.synthetic.main.main_activity.* | ||||
| import rx.Observable | ||||
| import rx.Subscription | ||||
| import rx.android.schedulers.AndroidSchedulers | ||||
| @@ -170,6 +170,7 @@ open class CatalogueController(bundle: Bundle? = null) : | ||||
|         activity?.toolbar?.removeView(spinner) | ||||
|         numColumnsSubscription?.unsubscribe() | ||||
|         numColumnsSubscription = null | ||||
|         searchViewSubscription?.unsubscribe() | ||||
|         searchViewSubscription = null | ||||
|         adapter = null | ||||
|         spinner = null | ||||
|   | ||||
| @@ -21,6 +21,12 @@ class TrackController : NucleusController<TrackPresenter>(), | ||||
|  | ||||
|     private var adapter: TrackAdapter? = null | ||||
|  | ||||
|     init { | ||||
|         // There's no menu, but this avoids a bug when coming from the catalogue, where the menu | ||||
|         // disappears if the searchview is expanded | ||||
|         setHasOptionsMenu(true) | ||||
|     } | ||||
|  | ||||
|     override fun createPresenter(): TrackPresenter { | ||||
|         return TrackPresenter((parentController as MangaController).manga!!) | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user