Browse Source

Save accout color

main
M66B 6 years ago
parent
commit
33f1a352ef
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/src/main/java/eu/faircode/email/FragmentAccount.java

+ 2
- 0
app/src/main/java/eu/faircode/email/FragmentAccount.java View File

@ -767,6 +767,7 @@ public class FragmentAccount extends FragmentEx {
outState.putString("authorized", authorized);
outState.putString("password", tilPassword.getEditText().getText().toString());
outState.putInt("advanced", grpAdvanced.getVisibility());
outState.putInt("color", color);
}
@Override
@ -845,6 +846,7 @@ public class FragmentAccount extends FragmentEx {
authorized = savedInstanceState.getString("authorized");
tilPassword.getEditText().setText(savedInstanceState.getString("password"));
grpAdvanced.setVisibility(savedInstanceState.getInt("advanced"));
color = savedInstanceState.getInt("color");
}
Helper.setViewsEnabled(view, true);


Loading…
Cancel
Save