chore: Simplify bootstrap
This commit is contained in:
parent
82ea33be2a
commit
c6d9fcd91a
4 changed files with 36 additions and 120 deletions
|
|
@ -78,9 +78,7 @@ class _InvitationSelectionState extends State<InvitationSelection> {
|
|||
void searchUser(BuildContext context, String text) async {
|
||||
coolDown?.cancel();
|
||||
if (text.isEmpty) {
|
||||
setState(() {
|
||||
foundProfiles = [];
|
||||
});
|
||||
setState(() => foundProfiles = []);
|
||||
}
|
||||
currentSearchTerm = text;
|
||||
if (currentSearchTerm.isEmpty) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue