diff options
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/views/RemoteCNPreference.java | 6 | ||||
-rw-r--r-- | main/src/ui/res/xml/vpn_authentification.xml | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/views/RemoteCNPreference.java b/main/src/ui/java/de/blinkt/openvpn/views/RemoteCNPreference.java index 46c9ed48..7c3d1766 100644 --- a/main/src/ui/java/de/blinkt/openvpn/views/RemoteCNPreference.java +++ b/main/src/ui/java/de/blinkt/openvpn/views/RemoteCNPreference.java @@ -24,15 +24,15 @@ public class RemoteCNPreference extends DialogPreference { } public RemoteCNPreference(Context context, AttributeSet attrs, int defStyleAttr) { - this(context, attrs, defStyleAttr, defStyleAttr); + super(context, attrs, defStyleAttr); } public RemoteCNPreference(Context context, AttributeSet attrs) { - this(context, attrs, 0); + super(context, attrs, 0); } public RemoteCNPreference(Context context) { - this(context, null); + super(context); } diff --git a/main/src/ui/res/xml/vpn_authentification.xml b/main/src/ui/res/xml/vpn_authentification.xml index 458378b7..374431e7 100644 --- a/main/src/ui/res/xml/vpn_authentification.xml +++ b/main/src/ui/res/xml/vpn_authentification.xml @@ -16,6 +16,8 @@ <de.blinkt.openvpn.views.RemoteCNPreference android:dependency="checkRemoteCN" + android:positiveButtonText="@android:string/ok" + android:negativeButtonText="@string/cancel" android:key="remotecn" android:title="@string/enter_tlscn_title" /> |