This GitLab instance reached the end of its service life. It won't be possible to create new users or projects.

Please read the deprecation notice for more information concerning the deprecation timeline

Visit migration.git.tu-berlin.de (internal network only) to import your old projects to the new GitLab platform 📥

Commit 57eed8a9 by Nico Suhl

reset login state for next update

parent 076be031
......@@ -128,6 +128,15 @@ public class ProdukteFragment extends SwipeRefreshListFragment
getLoaderManager().initLoader(0, null, this);
// when updating to version 1.1 (version code 5) we need to reset the login prefs
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getActivity());
if (prefs.getBoolean("pref_update_to_1.1", false) == false) {
final SharedPreferences.Editor prefEditor = prefs.edit();
prefEditor.putBoolean("pref_loginsuccess", false);
prefEditor.putBoolean("pref_update_to_1.1", true);
prefEditor.apply();
}
if(!KassenUtils.isLoggedIn(getActivity())) {
FragmentTransaction ft = getFragmentManager().beginTransaction();
Fragment prev = getFragmentManager().findFragmentByTag("dialog");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment