diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/settings/SettingsActivity.java b/app/src/main/java/gr/thmmy/mthmmy/activities/settings/SettingsActivity.java index 40ade6b7..b57d2c0d 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/settings/SettingsActivity.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/settings/SettingsActivity.java @@ -32,12 +32,10 @@ public class SettingsActivity extends BaseActivity { createDrawer(); drawer.setSelection(SETTINGS_ID); - if (savedInstanceState == null) { - preferenceFragment = SettingsFragment.newInstance(sessionManager.isLoggedIn()); - FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction(); - fragmentTransaction.add(R.id.pref_container, preferenceFragment); - fragmentTransaction.commit(); - } + preferenceFragment = SettingsFragment.newInstance(sessionManager.isLoggedIn()); + FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction(); + fragmentTransaction.add(R.id.pref_container, preferenceFragment); + fragmentTransaction.commit(); } @Override