mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-22 12:41:14 +03:00
safer navigator.pop
This commit is contained in:
@@ -6,11 +6,7 @@ class PlatformFFI {
|
||||
static void clearRgbaFrame() {}
|
||||
|
||||
static Uint8List getRgba() {
|
||||
var data = js.context.callMethod('getRgba');
|
||||
if (data != null) {
|
||||
return Uint8List.sublistView(data);
|
||||
}
|
||||
return null;
|
||||
return js.context.callMethod('getRgba');
|
||||
}
|
||||
|
||||
static Future<String> getVersion() async {
|
||||
|
||||
Reference in New Issue
Block a user