diff options
author | Arne Schwabe <arne@rfc2549.org> | 2022-07-22 16:45:37 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2022-07-22 16:45:37 +0200 |
commit | df2a66a4a1dd54d76a65ed516bc55ea3f521329d (patch) | |
tree | 5a16b4cf6aaca54c011e20a7fde881dfdaa8966b /main/src/ui/java/de | |
parent | 552264611d9ca218a905e3e461df27e3d0f860cd (diff) |
Refresh VPN list on resume() of VPN list fragment (closes #1508)
Diffstat (limited to 'main/src/ui/java/de')
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/fragments/VPNProfileList.java | 1 |
1 files changed, 1 insertions, 0 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 cf48cc48..c7ee5df1 100644 --- a/main/src/ui/java/de/blinkt/openvpn/fragments/VPNProfileList.java +++ b/main/src/ui/java/de/blinkt/openvpn/fragments/VPNProfileList.java @@ -292,6 +292,7 @@ public class VPNProfileList extends ListFragment implements OnClickListener, Vpn private void populateVpnList() { boolean sortByLRU = Preferences.getDefaultSharedPreferences(requireActivity()).getBoolean(PREF_SORT_BY_LRU, false); + getPM().refreshVPNList(requireContext()); Collection<VpnProfile> allvpn = getPM().getProfiles(); TreeSet<VpnProfile> sortedset; if (sortByLRU) |