[BUGFIX] fine print label for six month
This commit is contained in:
		
							parent
							
								
									f80eac3a38
								
							
						
					
					
						commit
						ea2adcc4f5
					
				| 
						 | 
					@ -66,13 +66,11 @@ public class MagicCreateActivity extends XmppActivity implements TextWatcher {
 | 
				
			||||||
        if (username != null && domain != null) {
 | 
					        if (username != null && domain != null) {
 | 
				
			||||||
            binding.title.setText(R.string.your_server_invitation);
 | 
					            binding.title.setText(R.string.your_server_invitation);
 | 
				
			||||||
            binding.instructions.setText(getString(R.string.magic_create_text_fixed, domain));
 | 
					            binding.instructions.setText(getString(R.string.magic_create_text_fixed, domain));
 | 
				
			||||||
            binding.finePrint.setVisibility(View.INVISIBLE);
 | 
					 | 
				
			||||||
            binding.username.setEnabled(false);
 | 
					            binding.username.setEnabled(false);
 | 
				
			||||||
            binding.username.setText(this.username);
 | 
					            binding.username.setText(this.username);
 | 
				
			||||||
            updateFullJidInformation(this.username);
 | 
					            updateFullJidInformation(this.username);
 | 
				
			||||||
        } else if (domain != null) {
 | 
					        } else if (domain != null) {
 | 
				
			||||||
            binding.instructions.setText(getString(R.string.magic_create_text_on_x, domain));
 | 
					            binding.instructions.setText(getString(R.string.magic_create_text_on_x, domain));
 | 
				
			||||||
            binding.finePrint.setVisibility(View.INVISIBLE);
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        binding.createAccount.setOnClickListener(v -> {
 | 
					        binding.createAccount.setOnClickListener(v -> {
 | 
				
			||||||
            try {
 | 
					            try {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -95,19 +95,6 @@
 | 
				
			||||||
                        android:padding="8dp"
 | 
					                        android:padding="8dp"
 | 
				
			||||||
                        android:src="@drawable/main_logo" />
 | 
					                        android:src="@drawable/main_logo" />
 | 
				
			||||||
                </RelativeLayout>
 | 
					                </RelativeLayout>
 | 
				
			||||||
 | 
					 | 
				
			||||||
                <TextView
 | 
					 | 
				
			||||||
                    android:id="@+id/fine_print"
 | 
					 | 
				
			||||||
                    android:layout_width="wrap_content"
 | 
					 | 
				
			||||||
                    android:layout_height="wrap_content"
 | 
					 | 
				
			||||||
                    android:layout_alignParentBottom="true"
 | 
					 | 
				
			||||||
                    android:layout_centerHorizontal="true"
 | 
					 | 
				
			||||||
                    android:maxLines="1"
 | 
					 | 
				
			||||||
                    android:paddingLeft="8dp"
 | 
					 | 
				
			||||||
                    android:paddingRight="8dp"
 | 
					 | 
				
			||||||
                    android:text="@string/free_for_six_month"
 | 
					 | 
				
			||||||
                    android:textColor="?android:textColorSecondary"
 | 
					 | 
				
			||||||
                    android:textSize="@dimen/fineprint_size" />
 | 
					 | 
				
			||||||
            </RelativeLayout>
 | 
					            </RelativeLayout>
 | 
				
			||||||
        </ScrollView>
 | 
					        </ScrollView>
 | 
				
			||||||
    </LinearLayout>
 | 
					    </LinearLayout>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue