Linked fetch more remark to FAQ

This commit is contained in:
M66B
2021-08-12 13:29:46 +02:00
parent f86ea538ba
commit de932287f6
2 changed files with 11 additions and 1 deletions

View File

@@ -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() {