Skip to content

Commit

Permalink
fix example app with using the email arrived linux notification category
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikuB committed Jun 16, 2022
1 parent bc43216 commit 6df1239
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flutter_local_notifications/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2609,11 +2609,11 @@ Future<void> _showLinuxNotificationWithBodyMarkup() async {
}

Future<void> _showLinuxNotificationWithCategory() async {
final LinuxNotificationDetails linuxPlatformChannelSpecifics =
const LinuxNotificationDetails linuxPlatformChannelSpecifics =
LinuxNotificationDetails(
category: LinuxNotificationCategory.emailArrived(),
category: LinuxNotificationCategory.emailArrived,
);
final NotificationDetails notificationDetails = NotificationDetails(
const NotificationDetails notificationDetails = NotificationDetails(
linux: linuxPlatformChannelSpecifics,
);
await flutterLocalNotificationsPlugin.show(
Expand Down

0 comments on commit 6df1239

Please sign in to comment.