Skip to content

Commit

Permalink
fix: Fix plugin interfaces issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Losses committed Sep 15, 2024
1 parent be9854e commit a351b5b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/elinux_plugins.dart
Original file line number Diff line number Diff line change
Expand Up @@ -612,9 +612,8 @@ void RegisterPlugins(flutter::PluginRegistry* registry);
void RegisterPlugins(flutter::PluginRegistry* registry) {
{{#methodChannelPlugins}}
g_autoptr(FlPluginRegistrar) {{name}}_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "{{class}}");
{{filename}}_register_with_registrar({{name}}_registrar);
{{class}}RegisterWithRegistrar(
registry->GetRegistrarForPlugin("{{class}}"));
{{/methodChannelPlugins}}
}
''',
Expand Down

0 comments on commit a351b5b

Please sign in to comment.