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 5fa3870b28..6046132c1d 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 45050d0249..50fc251076 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