mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 06:17:26 +01:00 
			
		
		
		
	feat: Add toggle to mute notifications from chat groups
This commit is contained in:
		
							parent
							
								
									08797da53d
								
							
						
					
					
						commit
						85f5b69d6e
					
				@ -711,6 +711,16 @@
 | 
			
		||||
        "type": "text",
 | 
			
		||||
        "placeholders": {}
 | 
			
		||||
    },
 | 
			
		||||
"allRooms": "All Group Chats",
 | 
			
		||||
    "@allRooms": {
 | 
			
		||||
        "type": "text",
 | 
			
		||||
        "placeholders": {}
 | 
			
		||||
    },
 | 
			
		||||
    "discover": "Discover",
 | 
			
		||||
    "@discover": {
 | 
			
		||||
        "type": "text",
 | 
			
		||||
        "placeholders": {}
 | 
			
		||||
    },
 | 
			
		||||
    "displaynameHasBeenChanged": "Displayname has been changed",
 | 
			
		||||
    "@displaynameHasBeenChanged": {
 | 
			
		||||
        "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -15,6 +15,12 @@ class NotificationSettingsItem {
 | 
			
		||||
  final String Function(BuildContext) title;
 | 
			
		||||
  const NotificationSettingsItem(this.type, this.key, this.title);
 | 
			
		||||
  static List<NotificationSettingsItem> items = [
 | 
			
		||||
    NotificationSettingsItem(
 | 
			
		||||
      PushRuleKind.underride,
 | 
			
		||||
      '.m.rule.message',
 | 
			
		||||
      (c) => L10n.of(c)!.allRooms,
 | 
			
		||||
    ),
 | 
			
		||||
 
 | 
			
		||||
    NotificationSettingsItem(
 | 
			
		||||
      PushRuleKind.underride,
 | 
			
		||||
      '.m.rule.room_one_to_one',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user