🐛 linux: guard FirebaseMessaging calls when Firebase is not initialized
This commit is contained in:
		@@ -181,6 +181,9 @@ class IslandApp extends HookConsumerWidget {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    useEffect(() {
 | 
			
		||||
      if (!kIsWeb && Platform.isLinux) {
 | 
			
		||||
        return null;
 | 
			
		||||
      }
 | 
			
		||||
      const channel = MethodChannel('dev.solsynth.solian/notifications');
 | 
			
		||||
 | 
			
		||||
      Future<void> handleInitialLink() async {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user