mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-03 22:07:23 +01:00 
			
		
		
		
	Merge branch 'fix_linux_notifications' into 'main'
fix: linux notifications Closes #353 See merge request famedly/fluffychat!634
This commit is contained in:
		
						commit
						e33aff1faf
					
				@ -257,12 +257,14 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
 | 
			
		||||
        icon: icon.toString(),
 | 
			
		||||
      );
 | 
			
		||||
    } else if (Platform.isLinux) {
 | 
			
		||||
      await linuxNotifications.notify(
 | 
			
		||||
      final notification = await linuxNotifications.notify(
 | 
			
		||||
        title,
 | 
			
		||||
        body: body,
 | 
			
		||||
        replacesId: _linuxNotificationIds[roomId] ?? -1,
 | 
			
		||||
        replacesId: _linuxNotificationIds[roomId] ?? 0,
 | 
			
		||||
        appName: AppConfig.applicationName,
 | 
			
		||||
        appIcon: "im.fluffychat.Fluffychat",
 | 
			
		||||
      );
 | 
			
		||||
      _linuxNotificationIds[roomId] = notification.id;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user