From d18063187706a9e51c7fec9cad5cc716d8283135 Mon Sep 17 00:00:00 2001 From: len Date: Sun, 18 Dec 2016 20:29:46 +0100 Subject: [PATCH] Add ripple effect to filter nav view --- .../java/eu/kanade/tachiyomi/ui/base/activity/BaseActivity.kt | 1 + .../java/eu/kanade/tachiyomi/ui/base/activity/BaseRxActivity.kt | 1 + app/src/main/res/layout/navigation_view_checkbox.xml | 2 +- app/src/main/res/layout/navigation_view_checkedtext.xml | 2 +- app/src/main/res/layout/navigation_view_radio.xml | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseActivity.kt index bcdabb823..c9acddc71 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseActivity.kt @@ -12,6 +12,7 @@ abstract class BaseActivity : AppCompatActivity(), ActivityMixin { override fun getActivity() = this var resumed = false + private set override fun onResume() { super.onResume() diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseRxActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseRxActivity.kt index 3c8be8693..a68cddb42 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseRxActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseRxActivity.kt @@ -26,6 +26,7 @@ abstract class BaseRxActivity

> : NucleusAppCompatActivity