No beige composer

pull/187/head
M66B 4 years ago
parent b6d401a373
commit 7b2f2b1147

@ -806,6 +806,11 @@ public class FragmentCompose extends FragmentBase {
// Initialize // Initialize
setHasOptionsMenu(true); setHasOptionsMenu(true);
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
//boolean beige = prefs.getBoolean("beige", true);
//if (beige && !Helper.isDarkTheme(getContext()))
// view.setBackgroundColor(ContextCompat.getColor(getContext(), R.color.lightColorBackground_cards_beige));
etExtra.setHint(""); etExtra.setHint("");
tvDomain.setText(null); tvDomain.setText(null);
tvPlainTextOnly.setVisibility(View.GONE); tvPlainTextOnly.setVisibility(View.GONE);
@ -832,7 +837,6 @@ public class FragmentCompose extends FragmentBase {
final DB db = DB.getInstance(getContext()); final DB db = DB.getInstance(getContext());
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
final boolean suggest_sent = prefs.getBoolean("suggest_sent", true); final boolean suggest_sent = prefs.getBoolean("suggest_sent", true);
final boolean suggest_received = prefs.getBoolean("suggest_received", false); final boolean suggest_received = prefs.getBoolean("suggest_received", false);
final boolean suggest_frequently = prefs.getBoolean("suggest_frequently", false); final boolean suggest_frequently = prefs.getBoolean("suggest_frequently", false);

Loading…
Cancel
Save