mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-21 15:07:13 +00:00
fix for web
This commit is contained in:
1 parent
d8c89ad621
commit
49c2bf9616
5 files changed
+22
-6
No files matched your search
@@ -715,7 +715,9 @@ class FFI {
|
||||
|
||||
static List<Peer> peers() {
|
||||
try {
|
||||
List<dynamic> peers = json.decode(getByName('peers'));
|
||||
var str = getByName('peers');
|
||||
if (str == "") return [];
|
||||
List<dynamic> peers = json.decode(str);
|
||||
return peers
|
||||
.map((s) => s as List<dynamic>)
|
||||
.map((s) =>
|
||||
|
||||
Reference in new issue
Block a user