mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-30 06:15:05 -05:00
Minor fix
This commit is contained in:
parent
e6190683dd
commit
e16bf0698e
1 changed files with 2 additions and 3 deletions
|
@ -52,6 +52,7 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>() {
|
||||||
const val VERTICAL = 3
|
const val VERTICAL = 3
|
||||||
const val WEBTOON = 4
|
const val WEBTOON = 4
|
||||||
|
|
||||||
|
const val WHITE_THEME = 0
|
||||||
const val BLACK_THEME = 1
|
const val BLACK_THEME = 1
|
||||||
|
|
||||||
const val MENU_VISIBLE = "menu_visible"
|
const val MENU_VISIBLE = "menu_visible"
|
||||||
|
@ -64,8 +65,7 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>() {
|
||||||
|
|
||||||
private var viewer: BaseReader? = null
|
private var viewer: BaseReader? = null
|
||||||
|
|
||||||
lateinit var subscriptions: CompositeSubscription
|
val subscriptions by lazy { CompositeSubscription() }
|
||||||
private set
|
|
||||||
|
|
||||||
private var customBrightnessSubscription: Subscription? = null
|
private var customBrightnessSubscription: Subscription? = null
|
||||||
|
|
||||||
|
@ -95,7 +95,6 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>() {
|
||||||
}
|
}
|
||||||
|
|
||||||
setupToolbar(toolbar)
|
setupToolbar(toolbar)
|
||||||
subscriptions = CompositeSubscription()
|
|
||||||
|
|
||||||
initializeSettings()
|
initializeSettings()
|
||||||
initializeBottomMenu()
|
initializeBottomMenu()
|
||||||
|
|
Loading…
Reference in a new issue