[tor-commits] [orbot/master] ports can be set to "auto" so allow letters as well

n8fr8 at torproject.org n8fr8 at torproject.org
Tue Apr 28 21:05:00 UTC 2020


commit 361ea26d47810cd3bb43b1184385cbf2d0eeb497
Author: n8fr8 <nathan at guardianproject.info>
Date:   Tue Jul 9 14:27:25 2019 -0400

    ports can be set to "auto" so allow letters as well
---
 app/src/main/res/xml/preferences.xml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index ac596cf3..49b90dfa 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -246,7 +246,6 @@
         <EditTextPreference
             android:defaultValue="9050"
             android:dialogTitle="@string/pref_socks_dialog"
-            android:inputType="number"
             android:key="pref_socks"
             android:summary="@string/pref_socks_summary"
             android:title="@string/pref_socks_title" />
@@ -254,7 +253,6 @@
         <EditTextPreference
             android:defaultValue="8118"
             android:dialogTitle="@string/pref_http_dialog"
-            android:inputType="number"
             android:key="pref_http"
             android:summary="@string/pref_http_summary"
             android:title="@string/pref_http_title" />
@@ -262,7 +260,6 @@
         <EditTextPreference
             android:defaultValue="auto"
             android:dialogTitle="@string/pref_transport_dialog"
-            android:inputType="number"
             android:key="pref_transport"
             android:summary="@string/pref_transport_summary"
             android:title="@string/pref_transport_title" />
@@ -270,7 +267,6 @@
         <EditTextPreference
             android:defaultValue="auto"
             android:dialogTitle="@string/pref_dnsport_dialog"
-            android:inputType="number"
             android:key="pref_dnsport"
             android:summary="@string/pref_dnsport_summary"
             android:title="@string/pref_dnsport_title" />





More information about the tor-commits mailing list