Notification settings are pro features

This commit is contained in:
M66B
2019-05-16 11:10:01 +02:00
parent c07f72bd41
commit 976142178f
3 changed files with 13 additions and 2 deletions

View File

@@ -642,6 +642,12 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
}
private void onActionCreateChannel() {
if (!Helper.isPro(context)) {
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
lbm.sendBroadcast(new Intent(ActivityView.ACTION_SHOW_PRO));
return;
}
folder.createNotificationChannel(context);
onActionEditChannel();
}