mirror of https://github.com/M66B/FairEmail.git
Always show support button in quick setup
This commit is contained in:
parent
068c655a6b
commit
69e98336d7
|
@ -189,7 +189,6 @@ public class FragmentQuickSetup extends FragmentBase {
|
|||
pbCheck.setVisibility(View.GONE);
|
||||
pbSave.setVisibility(View.GONE);
|
||||
btnHelp.setVisibility(View.GONE);
|
||||
btnSupport.setVisibility(View.GONE);
|
||||
tvInstructions.setVisibility(View.GONE);
|
||||
tvInstructions.setMovementMethod(LinkMovementMethod.getInstance());
|
||||
grpSetup.setVisibility(View.GONE);
|
||||
|
@ -241,7 +240,6 @@ public class FragmentQuickSetup extends FragmentBase {
|
|||
pbSave.setVisibility(check ? View.GONE : View.VISIBLE);
|
||||
grpError.setVisibility(View.GONE);
|
||||
btnHelp.setVisibility(View.GONE);
|
||||
btnSupport.setVisibility(View.GONE);
|
||||
tvInstructions.setVisibility(View.GONE);
|
||||
grpSetup.setVisibility(check ? View.GONE : View.VISIBLE);
|
||||
}
|
||||
|
@ -496,7 +494,7 @@ public class FragmentQuickSetup extends FragmentBase {
|
|||
getMainHandler().post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
scroll.smoothScrollTo(0, tvErrorHint.getBottom());
|
||||
scroll.smoothScrollTo(0, btnSupport.getBottom());
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
@ -509,8 +507,6 @@ public class FragmentQuickSetup extends FragmentBase {
|
|||
btnHelp.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
btnSupport.setVisibility(View.VISIBLE);
|
||||
|
||||
if (args.containsKey("documentation")) {
|
||||
tvInstructions.setText(HtmlHelper.fromHtml(args.getString("documentation"), getContext()));
|
||||
tvInstructions.setVisibility(View.VISIBLE);
|
||||
|
|
|
@ -289,6 +289,6 @@
|
|||
android:id="@+id/grpError"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:constraint_referenced_ids="tvErrorTitle,tvError,tvErrorHint,tvErrorRemark" />
|
||||
app:constraint_referenced_ids="tvErrorTitle,tvError,tvErrorHint,tvErrorRemark,btnSupport" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</eu.faircode.email.ScrollViewEx>
|
||||
|
|
Loading…
Reference in New Issue