mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-08-26 10:16:54 +08:00
fix note dialog
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@ -165,6 +165,7 @@ class UserModel {
|
||||
static Future<List<dynamic>> queryLoginOptions() async {
|
||||
try {
|
||||
final url = await bind.mainGetApiServer();
|
||||
if (url.trim().isEmpty) return [];
|
||||
final resp = await http.get(Uri.parse('$url/api/login-options'));
|
||||
return jsonDecode(resp.body);
|
||||
} catch (e) {
|
||||
|
Reference in New Issue
Block a user