Merge pull request #4666 from fufesou/fix/lan_delete_peer
fix delete peer on lan
This commit is contained in:
commit
0966cd9211
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user