mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-27 08:01:50 +01:00
Save accout color
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user