mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-25 09:30:32 +00:00
Merge pull request #557 from mauriciocolli/fix-settings-rotation
Fix settings on screen rotation
This commit is contained in:
commit
be421e580d
@ -53,10 +53,12 @@ public class SettingsActivity extends AppCompatActivity {
|
||||
actionBar.setDisplayShowTitleEnabled(true);
|
||||
}
|
||||
|
||||
if (savedInstanceBundle == null) {
|
||||
getFragmentManager().beginTransaction()
|
||||
.replace(R.id.fragment_holder, new SettingsFragment())
|
||||
.commit();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onOptionsItemSelected(MenuItem item) {
|
||||
|
Loading…
Reference in New Issue
Block a user