Merge branch 'dev' into peertube
This commit is contained in:
commit
9530af95f4
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ public class RelatedVideosFragment extends BaseListInfoFragment<RelatedStreamInf
|
||||||
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String s) {
|
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String s) {
|
||||||
SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(getContext());
|
SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||||
Boolean autoplay = pref.getBoolean(getString(R.string.auto_queue_key), false);
|
Boolean autoplay = pref.getBoolean(getString(R.string.auto_queue_key), false);
|
||||||
aSwitch.setChecked(autoplay);
|
if(null != aSwitch) aSwitch.setChecked(autoplay);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue