Add setImmersiveModeNotApplicable() in some activities.

This commit is contained in:
Alex Ning 2020-12-03 14:15:03 +08:00
parent 88f6d3ae15
commit 03ac342884
2 changed files with 6 additions and 0 deletions

View File

@ -94,6 +94,9 @@ public class EditMultiRedditActivity extends BaseActivity {
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
((Infinity) getApplication()).getAppComponent().inject(this); ((Infinity) getApplication()).getAppComponent().inject(this);
setImmersiveModeNotApplicable();
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_edit_multi_reddit); setContentView(R.layout.activity_edit_multi_reddit);

View File

@ -61,6 +61,9 @@ public class SelectedSubredditsActivity extends BaseActivity implements Activity
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
((Infinity) getApplication()).getAppComponent().inject(this); ((Infinity) getApplication()).getAppComponent().inject(this);
setImmersiveModeNotApplicable();
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_selected_subreddits); setContentView(R.layout.activity_selected_subreddits);