1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Diplay the number of unread notifications / conversations

This commit is contained in:
2020-04-17 13:28:01 +02:00
parent 90d58bbee3
commit 003eb1efc2
3 changed files with 115 additions and 14 deletions

View File

@ -0,0 +1,14 @@
/// Count the number of unread notifications
///
/// @author Pierre Hubert
class CountUnreadNotifications {
final int notifications;
final int conversations;
CountUnreadNotifications({
this.notifications,
this.conversations,
}) : assert(notifications != null),
assert(conversations != null);
}