Some fixes

This commit is contained in:
Thomas 2022-06-17 11:07:31 +02:00
parent 62a8b12c43
commit 9c4a54f9d6
2 changed files with 5 additions and 1 deletions

View file

@ -640,7 +640,10 @@ public class ProfileActivity extends BaseActivity {
builderInner.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss());
builderInner.setPositiveButton(R.string.validate, (dialog, which) -> {
String notes = input.getText().toString().trim();
binding.accountNote.setText(notes);
binding.personalNote.setText(notes);
if (relationship != null) {
relationship.note = notes;
}
accountsVM.updateNote(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, account.id, notes);
dialog.dismiss();
});

View file

@ -66,6 +66,7 @@
android:layout_gravity="center"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:paddingBottom="10dp"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"