Some fixes
This commit is contained in:
parent
62a8b12c43
commit
9c4a54f9d6
|
@ -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();
|
||||
});
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue