mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-03 19:54:12 +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