mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Can update conversation settings from mobile application
This commit is contained in:
16
lib/models/notifications_settings.dart
Normal file
16
lib/models/notifications_settings.dart
Normal file
@ -0,0 +1,16 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Notifications settings
|
||||
///
|
||||
/// @author Pierre Hubert
|
||||
|
||||
class NotificationsSettings {
|
||||
bool allowConversations;
|
||||
bool allowNotificationsSound;
|
||||
|
||||
NotificationsSettings({
|
||||
@required this.allowConversations,
|
||||
@required this.allowNotificationsSound,
|
||||
}) : assert(allowConversations != null),
|
||||
assert(allowNotificationsSound != null);
|
||||
}
|
Reference in New Issue
Block a user