fixed chat search

This commit is contained in:
2025-06-23 11:16:39 +02:00
parent 9d0cf8e313
commit 5938c6b3c3
4 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,6 @@
import 'dart:developer';
import 'package:async/async.dart';
import 'package:flutter/material.dart';
@ -76,6 +78,7 @@ class JoinChat extends SearchDelegate<String> {
}
);
} else if(snapshot.hasError) {
log(snapshot.error.toString());
return const PlaceholderView(icon: Icons.search_off, text: 'Ein fehler ist aufgetreten. Bist du mit dem Internet verbunden?');
}