feat: swap note button icon

This commit is contained in:
LucasGGamerM
2023-12-23 10:01:35 -03:00
parent 251d90e0ec
commit 68ebc1aa93
3 changed files with 10 additions and 2 deletions

View File

@@ -867,7 +867,6 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
}
boolean canAddNote = noteWrap.getVisibility()==View.GONE && (relationship.note==null || relationship.note.isEmpty());
menu.findItem(R.id.edit_note).setTitle(canAddNote ? R.string.sk_add_note : R.string.sk_delete_note);
menu.findItem(R.id.edit_note).setIcon(canAddNote ? R.drawable.ic_fluent_person_note_24_regular : R.drawable.ic_fluent_person_delete_note_24_regular);
}
@Override