Browse Source

neon: Skip action for notifications app in notification

pull/232/head
jld3103 2 years ago
parent
commit
423f96ad95
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 3
      packages/neon/lib/src/apps/notifications/pages/main.dart

3
packages/neon/lib/src/apps/notifications/pages/main.dart

@ -90,6 +90,9 @@ class _NotificationsMainPageState extends State<NotificationsMainPage> {
),
),
onTap: () async {
if (notification.app == 'notifications') {
return;
}
final allAppImplementations = Provider.of<List<AppImplementation>>(context, listen: false);
final matchingAppImplementations = allAppImplementations.where((final a) => a.id == notification.app);
if (matchingAppImplementations.isNotEmpty) {

Loading…
Cancel
Save