mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-25 07:17:58 +00:00
responsible style in home page
This commit is contained in:
1 parent
b4e27662ba
commit
98434eb11e
4 files changed
+97
-54
No files matched your search
+2
-1
@@ -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