mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 02:16:00 +02:00
add type to all Getx put/get/delete/isRegistered (#8550)
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
parent
15fa80fb26
commit
763174657b
8 changed files with 62 additions and 60 deletions
|
@ -1428,7 +1428,7 @@ Future<void> initGlobalFFI() async {
|
|||
_globalFFI = FFI(null);
|
||||
debugPrint("_globalFFI init end");
|
||||
// after `put`, can also be globally found by Get.find<FFI>();
|
||||
Get.put(_globalFFI, permanent: true);
|
||||
Get.put<FFI>(_globalFFI, permanent: true);
|
||||
}
|
||||
|
||||
String translate(String name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue