mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Notification settings are pro features
This commit is contained in:
@@ -1249,6 +1249,12 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
|
||||
@TargetApi(Build.VERSION_CODES.O)
|
||||
private void onActionCreateChannel() {
|
||||
if (!Helper.isPro(context)) {
|
||||
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
|
||||
lbm.sendBroadcast(new Intent(ActivityView.ACTION_SHOW_PRO));
|
||||
return;
|
||||
}
|
||||
|
||||
NotificationChannel channel = new NotificationChannel(
|
||||
channelId, from.getAddress(),
|
||||
NotificationManager.IMPORTANCE_HIGH);
|
||||
|
||||
Reference in New Issue
Block a user