diff options
author | Arne Schwabe <arne@rfc2549.org> | 2020-05-06 17:42:12 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2020-05-06 17:42:24 +0200 |
commit | 72ae846ea9ce4c50441bdc347d86a39231176f3e (patch) | |
tree | 2bfd6966f6202bdbd6848ab46da0015d1daddd33 /main/src/ui/java/de/blinkt/openvpn/activities/VPNPreferences.java | |
parent | 6dd6c760fed01f7bf2648362f1f893dc75dcf42d (diff) |
Convert ListView in allowed apps to RecyclerView
Closes #693
Diffstat (limited to 'main/src/ui/java/de/blinkt/openvpn/activities/VPNPreferences.java')
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/activities/VPNPreferences.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/activities/VPNPreferences.java b/main/src/ui/java/de/blinkt/openvpn/activities/VPNPreferences.java index 2b6c94ad..49d4161c 100644 --- a/main/src/ui/java/de/blinkt/openvpn/activities/VPNPreferences.java +++ b/main/src/ui/java/de/blinkt/openvpn/activities/VPNPreferences.java @@ -39,7 +39,7 @@ public class VPNPreferences extends BaseActivity { static final Class[] validFragments = new Class[]{ Settings_Authentication.class, Settings_Basic.class, Settings_IP.class, Settings_Obscure.class, Settings_Routing.class, ShowConfigFragment.class, - Settings_Connections.class, Settings_Allowed_Apps.class + Settings_Connections.class, Settings_Allowed_Apps.class, }; private String mProfileUUID; @@ -147,9 +147,9 @@ public class VPNPreferences extends BaseActivity { } else { mPagerAdapter.addTab(R.string.basic, Settings_UserEditable.class); } - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { mPagerAdapter.addTab(R.string.vpn_allowed_apps, Settings_Allowed_Apps.class); - + } mPagerAdapter.addTab(R.string.generated_config, ShowConfigFragment.class); |