diff options
author | cyBerta <cyberta@riseup.net> | 2023-08-05 22:39:39 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2023-08-05 22:39:39 +0200 |
commit | 918c5d997a3e8a39b61b484b18701acaeb36160d (patch) | |
tree | 1fee6d3646f38889358acd82bf85265172b852f6 /app/src/main/java/se/leap | |
parent | e3cdc73429b42bdfab9b836bddab49c6b3fc9640 (diff) |
use brighter start button in initial setup flow
Diffstat (limited to 'app/src/main/java/se/leap')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/views/MainButton.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/views/MainButton.java b/app/src/main/java/se/leap/bitmaskclient/base/views/MainButton.java index 2fcc036e..e322e6c6 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/views/MainButton.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/views/MainButton.java @@ -61,13 +61,11 @@ public class MainButton extends RelativeLayout { } public void setCustomDrawable(@DrawableRes int drawableResource) { - // Drawable drawable = ContextCompat.getDrawable(getContext(), drawableResource); - Drawable drawable = getContext().getDrawable(drawableResource); + Drawable drawable = ContextCompat.getDrawable(getContext(), drawableResource); if (drawable == null) { return; } - drawable.setColorFilter(ContextCompat.getColor(getContext(), R.color.colorPrimaryLight), PorterDuff.Mode.MULTIPLY); button.setImageDrawable(drawable); button.setTag("button_setup_circle_custom"); } |