mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-11 18:11:27 +03:00
plugin_framework, support log callback
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -1466,7 +1466,11 @@ class PluginCardState extends State<PluginCard> {
|
||||
final children = [
|
||||
_Button(
|
||||
'Reload',
|
||||
() => bind.pluginReload(id: widget.pluginId),
|
||||
() async {
|
||||
clearPlugin(widget.pluginId);
|
||||
await bind.pluginReload(id: widget.pluginId);
|
||||
setState(() {});
|
||||
},
|
||||
),
|
||||
_Checkbox(
|
||||
label: 'Enable',
|
||||
@@ -1476,6 +1480,7 @@ class PluginCardState extends State<PluginCard> {
|
||||
clearPlugin(widget.pluginId);
|
||||
}
|
||||
await bind.pluginIdEnable(id: widget.pluginId, v: v);
|
||||
setState(() {});
|
||||
},
|
||||
),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user