Linked fetch more remark to FAQ

pull/203/head
M66B 3 years ago
parent f86ea538ba
commit de932287f6

@ -48,6 +48,7 @@ public class FragmentDialogSync extends FragmentDialogBase {
View view = LayoutInflater.from(getContext()).inflate(R.layout.dialog_sync, null);
final TextView tvFolder = view.findViewById(R.id.tvFolder);
final EditText etMonths = view.findViewById(R.id.etMonths);
final TextView tvRemark = view.findViewById(R.id.tvRemark);
if (fid < 0) {
if (TextUtils.isEmpty(type))
@ -59,6 +60,13 @@ public class FragmentDialogSync extends FragmentDialogBase {
etMonths.setText(null);
tvRemark.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Helper.viewFAQ(view.getContext(), 39);
}
});
return new AlertDialog.Builder(getContext())
.setView(view)
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {

@ -55,10 +55,12 @@
app:layout_constraintTop_toTopOf="@id/etMonths" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvSystem"
android:id="@+id/tvRemark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:drawableEnd="@drawable/twotone_info_24"
android:drawablePadding="6dp"
android:text="@string/title_synchronize_more_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"

Loading…
Cancel
Save