diff options
author | Arne Schwabe <arne@rfc2549.org> | 2021-10-13 18:44:51 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2021-10-13 18:44:51 +0200 |
commit | 893ce60f739bb3432eecf540329b732debb38ed3 (patch) | |
tree | 06c61ad2e972ff3967aa41e42310e9333149f94e | |
parent | c164ce0807fd442fb1a06e92b090ea21d8a245c1 (diff) |
Fix Remote CN Preference style
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/views/RemoteCNPreference.java | 3 | ||||
-rw-r--r-- | main/src/ui/res/layout/tlsremote.xml | 2 |
2 files changed, 3 insertions, 2 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 7c3d1766..93a2d90f 100644 --- a/main/src/ui/java/de/blinkt/openvpn/views/RemoteCNPreference.java +++ b/main/src/ui/java/de/blinkt/openvpn/views/RemoteCNPreference.java @@ -8,6 +8,7 @@ package de.blinkt.openvpn.views; import android.content.Context; import android.util.AttributeSet; +import androidx.core.content.res.TypedArrayUtils; import androidx.preference.DialogPreference; import de.blinkt.openvpn.R; @@ -28,7 +29,7 @@ public class RemoteCNPreference extends DialogPreference { } public RemoteCNPreference(Context context, AttributeSet attrs) { - super(context, attrs, 0); + super(context, attrs); } public RemoteCNPreference(Context context) { diff --git a/main/src/ui/res/layout/tlsremote.xml b/main/src/ui/res/layout/tlsremote.xml index 1e393d6b..a03b7357 100644 --- a/main/src/ui/res/layout/tlsremote.xml +++ b/main/src/ui/res/layout/tlsremote.xml @@ -7,7 +7,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:padding="@dimen/stdpadding" - android:theme="@style/Theme.AppCompat.Dialog.Alert"> + android:theme="@style/Theme.AppCompat.DayNight.Dialog.Alert"> <LinearLayout android:layout_width="wrap_content" |