Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R.mipmap.app_icon_large not shown after disconnect. #361

Closed
soenkegissel opened this issue Oct 13, 2019 · 1 comment
Closed

R.mipmap.app_icon_large not shown after disconnect. #361

soenkegissel opened this issue Oct 13, 2019 · 1 comment
Labels

Comments

@soenkegissel
Copy link

In StartFragment line 144 the case statement for VPN_STATUS_STOPPED should be as following:
case AdVpnService.VPN_STATUS_STOPPED:
stateImage.setImageAlpha(32);
stateImage.setImageTintList(null);
stateImage.setImageDrawable(context.getDrawable(R.mipmap.app_icon_large));
startButton.setText(R.string.action_start);
break;

With stateImage.setImageDrawable() in first line the image isn't shown. Tested with API 21 emulator.

@julian-klode
Copy link
Owner

Thank you, do you want to submit a pull request for that?

julian-klode added a commit that referenced this issue Feb 28, 2020
I don't know why that happens, but if submitter says this fixes
it, and it does not make it worse for me, I don't really care
either :)

Fixes #361
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants