Revert "Disable encrypt padlock"

This reverts commit 1411606115.
This commit is contained in:
M66B 2020-11-13 17:45:52 +01:00
parent c3dc0d1d0d
commit 40bd3299a1
1 changed files with 0 additions and 4 deletions

View File

@ -1370,8 +1370,6 @@ public class FragmentCompose extends FragmentBase {
menu.findItem(R.id.menu_clear).setEnabled(state == State.LOADED);
int colorEncrypt = Helper.resolveColor(getContext(), R.attr.colorEncrypt);
int colorSeparator = Helper.resolveColor(getContext(), R.attr.colorSeparator);
View v = menu.findItem(R.id.menu_encrypt).getActionView();
ImageButton ib = v.findViewById(R.id.button);
TextView tv = v.findViewById(R.id.text);
@ -1389,8 +1387,6 @@ public class FragmentCompose extends FragmentBase {
ib.setImageTintList(null);
tv.setText(null);
}
if (state != State.LOADED)
ib.setImageTintList(ColorStateList.valueOf(colorSeparator));
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
boolean save_drafts = prefs.getBoolean("save_drafts", true);