[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] Limited MOAT Solution Length to spec's 20 byte limit



commit 9b3afa51bec3ad4124a569af521e63a022426c34
Author: bim <dsnake@xxxxxxxxxxxxxx>
Date:   Mon May 11 16:13:42 2020 -0400

    Limited MOAT Solution Length to spec's 20 byte limit
---
 app/src/main/res/layout/activity_moat.xml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/app/src/main/res/layout/activity_moat.xml b/app/src/main/res/layout/activity_moat.xml
index 432c4d42..c9d68d12 100644
--- a/app/src/main/res/layout/activity_moat.xml
+++ b/app/src/main/res/layout/activity_moat.xml
@@ -4,8 +4,8 @@
     xmlns:tools="http://schemas.android.com/tools";
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:orientation="vertical"
     android:background="@color/dark_purple"
+    android:orientation="vertical"
     tools:context=".ui.onboarding.MoatActivity">
 
     <com.google.android.material.appbar.AppBarLayout
@@ -29,7 +29,7 @@
         <LinearLayout
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
-            android:orientation="vertical" >
+            android:orientation="vertical">
 
             <TextView
                 android:layout_width="match_parent"
@@ -67,7 +67,8 @@
                 android:ems="10"
                 android:hint="@string/enter_characters_from_image"
                 android:imeOptions="actionSend"
-                android:inputType="textShortMessage|text" />
+                android:inputType="textShortMessage|text"
+                android:maxLength="20" />
 
             <Button
                 android:id="@+id/requestBt"



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits