mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 15:17:03 +02:00
Direct insert of events when permission
This commit is contained in:
@@ -3691,8 +3691,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
return;
|
||||
}
|
||||
|
||||
if (BuildConfig.DEBUG &&
|
||||
action == R.id.ibCalendar &&
|
||||
if (action == R.id.ibCalendar &&
|
||||
Helper.hasPermission(context, Manifest.permission.WRITE_CALENDAR)) {
|
||||
Bundle args = new Bundle();
|
||||
args.putLong("message", message.id);
|
||||
|
||||
Reference in New Issue
Block a user