Add a subscription to the list

This commit is contained in:
inorichi 2015-11-21 03:39:45 +01:00
parent 3aaaf563af
commit 970e75e59f

View File

@ -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) {