This repository was archived by the owner on Jul 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
java/com/zulip/android/activities Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 12
12
import android .util .Log ;
13
13
import android .util .Patterns ;
14
14
import android .view .View ;
15
+ import android .widget .Button ;
16
+ import android .widget .CheckBox ;
17
+ import android .widget .CompoundButton ;
15
18
import android .widget .EditText ;
19
+ import android .widget .TextView ;
16
20
import android .widget .Toast ;
17
21
18
22
import com .google .android .gms .auth .api .Auth ;
@@ -139,6 +143,11 @@ private void showLoginFields() {
139
143
AnimationHelper .showView (findViewById (R .id .serverInput ), 201 );
140
144
AnimationHelper .hideView (findViewById (R .id .serverFieldLayout ), 100 );
141
145
realmNameET = (EditText ) findViewById (R .id .realmName );
146
+ if (getIntent ().getBooleanExtra ("FROM_ADDREALM" , false )) {
147
+ startedFromAddRealm = true ;
148
+ ((TextView ) findViewById (R .id .textView1 )).setText (R .string .add_realm );
149
+ ((Button ) findViewById (R .id .zulip_login )).setText (R .string .add_realm_login );
150
+ }
142
151
}
143
152
144
153
@ Override
Original file line number Diff line number Diff line change 81
81
<string name =" realm_add" >Add Realm</string >
82
82
<string name =" realm_name" >Name of a realm (Optional)</string >
83
83
<string name =" realm_exists" >Realm Name already exists, please change.</string >
84
-
84
+ <string name =" add_realm" >Add new Realm</string >
85
+ <string name =" add_realm_login" >Add</string >
85
86
</resources >
You can’t perform that action at this time.
0 commit comments