From cf3d54753c76ca29966d76fc659456672886ebfd Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 31 May 2016 19:45:06 +0200 Subject: [PATCH] fix saving transparent widget background color --- .../com/simplemobiletools/calendar/MyWidgetConfigure.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/simplemobiletools/calendar/MyWidgetConfigure.java b/app/src/main/java/com/simplemobiletools/calendar/MyWidgetConfigure.java index cfd5a4c52..2902cd275 100644 --- a/app/src/main/java/com/simplemobiletools/calendar/MyWidgetConfigure.java +++ b/app/src/main/java/com/simplemobiletools/calendar/MyWidgetConfigure.java @@ -77,8 +77,8 @@ public class MyWidgetConfigure extends AppCompatActivity implements Calendar { textColorWithoutTransparency = prefs.getInt(Constants.WIDGET_TEXT_COLOR, Color.WHITE); updateTextColors(); - bgColor = prefs.getInt(Constants.WIDGET_BG_COLOR, 0); - if (bgColor == 0) { + bgColor = prefs.getInt(Constants.WIDGET_BG_COLOR, 1); + if (bgColor == 1) { bgColor = Color.BLACK; bgAlpha = .5f; } else {