mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-24 18:08:24 +01:00
Add a subscription to the list
This commit is contained in:
parent
3aaaf563af
commit
970e75e59f
@ -192,9 +192,9 @@ public class ReaderActivity extends BaseRxActivity<ReaderPresenter> {
|
|||||||
.asObservable()
|
.asObservable()
|
||||||
.subscribe(this::setStatusBarVisibility));
|
.subscribe(this::setStatusBarVisibility));
|
||||||
|
|
||||||
preferences.keepScreenOn()
|
subscriptions.add(preferences.keepScreenOn()
|
||||||
.asObservable()
|
.asObservable()
|
||||||
.subscribe(this::setKeepScreenOn);
|
.subscribe(this::setKeepScreenOn));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setOrientation(boolean locked) {
|
private void setOrientation(boolean locked) {
|
||||||
|
Loading…
Reference in New Issue
Block a user