diff --git a/app/build.gradle b/app/build.gradle index 5945298e5..055a57277 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -105,7 +105,7 @@ dependencies { compile 'com.github.inorichi:junrar-android:634c1f5' // Android support library - final support_library_version = '25.3.1' + final support_library_version = '25.4.0' compile "com.android.support:support-v4:$support_library_version" compile "com.android.support:appcompat-v7:$support_library_version" compile "com.android.support:cardview-v7:$support_library_version" diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueController.kt index b1d3c3cdd..cac5a12a9 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueController.kt @@ -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 diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackController.kt index 272656137..363c0fe78 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackController.kt @@ -21,6 +21,12 @@ class TrackController : NucleusController(), 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!!) } diff --git a/build.gradle b/build.gradle index b021a12b6..66b50e6c4 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:2.3.1' - classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0' + classpath 'com.github.ben-manes:gradle-versions-plugin:0.15.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } @@ -16,6 +16,7 @@ buildscript { allprojects { repositories { jcenter() + maven { url "https://maven.google.com" } maven { url "https://jitpack.io" } } }