Add a subscription to the list
This commit is contained in:
parent
3aaaf563af
commit
970e75e59f
1 changed files with 2 additions and 2 deletions
|
@ -192,9 +192,9 @@ public class ReaderActivity extends BaseRxActivity<ReaderPresenter> {
|
|||
.asObservable()
|
||||
.subscribe(this::setStatusBarVisibility));
|
||||
|
||||
preferences.keepScreenOn()
|
||||
subscriptions.add(preferences.keepScreenOn()
|
||||
.asObservable()
|
||||
.subscribe(this::setKeepScreenOn);
|
||||
.subscribe(this::setKeepScreenOn));
|
||||
}
|
||||
|
||||
private void setOrientation(boolean locked) {
|
||||
|
|
Reference in a new issue