mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-12 12:03:17 +02:00
Long press to erase account image
This commit is contained in:
@@ -485,6 +485,14 @@ public class FragmentAccount extends FragmentBase {
|
||||
}
|
||||
});
|
||||
|
||||
btnAvatar.setOnLongClickListener(new View.OnLongClickListener() {
|
||||
@Override
|
||||
public boolean onLongClick(View v) {
|
||||
avatar = null;
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
Helper.linkPro(tvAvatarPro);
|
||||
|
||||
btnCalendar.setEnabled(Helper.hasPermission(getContext(), Manifest.permission.WRITE_CALENDAR));
|
||||
|
||||
Reference in New Issue
Block a user