Small color fixes

This commit is contained in:
M66B
2019-06-13 13:01:07 +02:00
parent f014d820da
commit 58d0fd071c
3 changed files with 9 additions and 14 deletions

View File

@@ -273,7 +273,7 @@ public class FragmentIdentity extends FragmentBase {
}
});
vwColor.setBackgroundColor(color);
setColor(color);
btnColor.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
@@ -991,7 +991,7 @@ public class FragmentIdentity extends FragmentBase {
}
private void setColor(int color) {
FragmentIdentity.this.color = color;
this.color = color;
GradientDrawable border = new GradientDrawable();
border.setColor(color);