mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
Some fixes
This commit is contained in:
parent
62a8b12c43
commit
9c4a54f9d6
2 changed files with 5 additions and 1 deletions
|
@ -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 a new issue