fix saving transparent widget background color

This commit is contained in:
tibbi 2016-05-31 19:45:06 +02:00
parent 9550545181
commit cf3d54753c
1 changed files with 2 additions and 2 deletions

View File

@ -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 {