From e4dc84a5d864a33e35327ff4f0965ec3ca3dd55d Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 7 Mar 2020 17:01:53 -0500 Subject: [PATCH] Minor lint fixes --- .../java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt | 9 ++++++--- .../eu/kanade/tachiyomi/util/view/WindowExtensions.kt | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt index 5fa3870b2..6046132c1 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt @@ -45,7 +45,12 @@ import eu.kanade.tachiyomi.util.lang.plusAssign import eu.kanade.tachiyomi.util.storage.getUriCompat import eu.kanade.tachiyomi.util.system.GLUtil import eu.kanade.tachiyomi.util.system.toast -import eu.kanade.tachiyomi.util.view.* +import eu.kanade.tachiyomi.util.view.defaultBar +import eu.kanade.tachiyomi.util.view.gone +import eu.kanade.tachiyomi.util.view.hideBar +import eu.kanade.tachiyomi.util.view.isDefaultBar +import eu.kanade.tachiyomi.util.view.showBar +import eu.kanade.tachiyomi.util.view.visible import eu.kanade.tachiyomi.widget.SimpleAnimationListener import eu.kanade.tachiyomi.widget.SimpleSeekBarListener import java.io.File @@ -64,7 +69,6 @@ import kotlinx.android.synthetic.main.reader_activity.right_chapter import kotlinx.android.synthetic.main.reader_activity.right_page_text import kotlinx.android.synthetic.main.reader_activity.toolbar import kotlinx.android.synthetic.main.reader_activity.viewer_container -import me.zhanghai.android.systemuihelper.SystemUiHelper import nucleus.factory.RequiresPresenter import rx.Observable import rx.Subscription @@ -353,7 +357,6 @@ class ReaderActivity : BaseRxActivity() { } } - /** * Reset menu padding and system bar */ diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/view/WindowExtensions.kt b/app/src/main/java/eu/kanade/tachiyomi/util/view/WindowExtensions.kt index 45050d024..50fc25107 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/view/WindowExtensions.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/view/WindowExtensions.kt @@ -23,4 +23,4 @@ fun Window.defaultBar() { decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_VISIBLE } -fun Window.isDefaultBar() = decorView.systemUiVisibility == View.SYSTEM_UI_FLAG_VISIBLE \ No newline at end of file +fun Window.isDefaultBar() = decorView.systemUiVisibility == View.SYSTEM_UI_FLAG_VISIBLE