mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Added solarized light theme
This commit is contained in:
@@ -42,7 +42,6 @@ import android.widget.Spinner;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.widget.SwitchCompat;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import androidx.lifecycle.Lifecycle;
|
||||
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
|
||||
import androidx.preference.PreferenceManager;
|
||||
@@ -444,12 +443,7 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc
|
||||
});
|
||||
|
||||
// Initialize
|
||||
if (!Helper.isDarkTheme(getContext())) {
|
||||
boolean beige = prefs.getBoolean("beige", true);
|
||||
view.setBackgroundColor(ContextCompat.getColor(getContext(), beige
|
||||
? R.color.lightColorBackground_cards_beige
|
||||
: R.color.lightColorBackground_cards));
|
||||
}
|
||||
FragmentDialogTheme.setBackground(getContext(), view, false);
|
||||
|
||||
String re1 = getString(R.string.title_subject_reply, "");
|
||||
String re2 = getString(R.string.title_subject_reply_alt, "");
|
||||
|
||||
Reference in New Issue
Block a user