diff --git a/flutter/lib/common/widgets/peer_card.dart b/flutter/lib/common/widgets/peer_card.dart index ccc9014d6..e2bcd3955 100644 --- a/flutter/lib/common/widgets/peer_card.dart +++ b/flutter/lib/common/widgets/peer_card.dart @@ -727,7 +727,7 @@ abstract class BasePeerCard extends StatelessWidget { (setState, close, context) { submit() async { if (isLan) { - bind.mainRemoveDiscovered(id: id); + await bind.mainRemoveDiscovered(id: id); } else { final favs = (await bind.mainGetFav()).toList(); if (favs.remove(id)) {