mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Small improvement
This commit is contained in:
parent
352a597eeb
commit
696950374f
3 changed files with 8 additions and 4 deletions
|
@ -96,8 +96,10 @@ public class ActivityWidget extends ActivityBase {
|
|||
cbSemiTransparent.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
btnColor.setColor(Color.TRANSPARENT);
|
||||
setBackground();
|
||||
if (isChecked) {
|
||||
btnColor.setColor(Color.TRANSPARENT);
|
||||
setBackground();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -69,7 +69,8 @@ public class ActivityWidgetSync extends ActivityBase {
|
|||
cbSemiTransparent.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
btnColor.setColor(Color.TRANSPARENT);
|
||||
if (isChecked)
|
||||
btnColor.setColor(Color.TRANSPARENT);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -103,7 +103,8 @@ public class ActivityWidgetUnified extends ActivityBase {
|
|||
cbSemiTransparent.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
btnColor.setColor(Color.TRANSPARENT);
|
||||
if (isChecked)
|
||||
btnColor.setColor(Color.TRANSPARENT);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue