mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-07 17:51:27 +03:00
responsible style in home page
This commit is contained in:
@@ -10,7 +10,7 @@ class PlatformFFI {
|
||||
}
|
||||
|
||||
static Future<String> getVersion() async {
|
||||
return '';
|
||||
return getByName('version');
|
||||
}
|
||||
|
||||
static String getByName(String name, [String arg = '']) {
|
||||
@@ -23,6 +23,7 @@ class PlatformFFI {
|
||||
|
||||
static Future<Null> init() async {
|
||||
isWeb = true;
|
||||
isDesktop = !js.context.callMethod('isMobile');
|
||||
js.context.callMethod('init');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user