mirror of https://github.com/M66B/FairEmail.git
Refactoring
This commit is contained in:
parent
49e47836e1
commit
2d4f735761
|
@ -6717,8 +6717,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
final String notes = getArguments().getString("notes");
|
||||
|
||||
View view = LayoutInflater.from(getContext()).inflate(R.layout.dialog_notes, null);
|
||||
final EditText etNote = view.findViewById(R.id.etNote);
|
||||
etNote.setText(notes);
|
||||
final EditText etNotes = view.findViewById(R.id.etNotes);
|
||||
etNotes.setText(notes);
|
||||
|
||||
return new AlertDialog.Builder(getContext())
|
||||
.setView(view)
|
||||
|
@ -6727,7 +6727,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
public void onClick(DialogInterface dialog, int which) {
|
||||
Bundle args = new Bundle();
|
||||
args.putLong("id", id);
|
||||
args.putString("notes", etNote.getText().toString());
|
||||
args.putString("notes", etNotes.getText().toString());
|
||||
|
||||
new SimpleTask<Void>() {
|
||||
@Override
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<eu.faircode.email.EditTextPlain
|
||||
android:id="@+id/etNote"
|
||||
android:id="@+id/etNotes"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="24dp"
|
||||
|
|
Loading…
Reference in New Issue