mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
Cleanup
This commit is contained in:
parent
b9397c4664
commit
ca02055b77
1 changed files with 4 additions and 4 deletions
|
@ -134,10 +134,10 @@ public class Widget extends AppWidgetProvider {
|
||||||
else
|
else
|
||||||
views.setInt(android.R.id.background, "setBackgroundColor", background);
|
views.setInt(android.R.id.background, "setBackgroundColor", background);
|
||||||
|
|
||||||
int colorWidgetForeground = context.getResources().getColor(R.color.colorWidgetForeground);
|
//int colorWidgetForeground = context.getResources().getColor(R.color.colorWidgetForeground);
|
||||||
views.setInt(R.id.ivMessage, "setColorFilter", colorWidgetForeground);
|
//views.setInt(R.id.ivMessage, "setColorFilter", colorWidgetForeground);
|
||||||
views.setTextColor(R.id.tvCount, colorWidgetForeground);
|
//views.setTextColor(R.id.tvCount, colorWidgetForeground);
|
||||||
views.setTextColor(R.id.tvAccount, colorWidgetForeground);
|
//views.setTextColor(R.id.tvAccount, colorWidgetForeground);
|
||||||
} else {
|
} else {
|
||||||
float lum = (float) ColorUtils.calculateLuminance(background);
|
float lum = (float) ColorUtils.calculateLuminance(background);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue