summaryrefslogtreecommitdiff
path: root/main/src/ui
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2023-04-06 10:00:51 +0200
committerArne Schwabe <arne@rfc2549.org>2023-04-06 10:00:51 +0200
commit9e5986073c9b7636572fecdb56231d4b484345a1 (patch)
tree8dd1abf63abf21a1d1d10933ef3414c380be68f9 /main/src/ui
parente3d7059bc3305f27bf95ea730fe4e01aa7415c87 (diff)
Silence warning when running with UpsideDownCake beta
Diffstat (limited to 'main/src/ui')
-rw-r--r--main/src/ui/java/de/blinkt/openvpn/fragments/VPNProfileList.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/fragments/VPNProfileList.java b/main/src/ui/java/de/blinkt/openvpn/fragments/VPNProfileList.java
index 32ae0093..fa9438cb 100644
--- a/main/src/ui/java/de/blinkt/openvpn/fragments/VPNProfileList.java
+++ b/main/src/ui/java/de/blinkt/openvpn/fragments/VPNProfileList.java
@@ -668,9 +668,9 @@ public class VPNProfileList extends ListFragment implements OnClickListener, Vpn
public Drawable getDrawable(String source) {
Drawable d = null;
if ("ic_menu_add".equals(source))
- d = requireActivity().getResources().getDrawable(R.drawable.ic_menu_add_grey);
+ d = requireActivity().getResources().getDrawable(R.drawable.ic_menu_add_grey, requireActivity().getTheme());
else if ("ic_menu_archive".equals(source))
- d = requireActivity().getResources().getDrawable(R.drawable.ic_menu_import_grey);
+ d = requireActivity().getResources().getDrawable(R.drawable.ic_menu_import_grey, requireActivity().getTheme());
if (d != null) {