From 9ccc9ae986d9f8c878b4840e213bfaa9072a7462 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Tue, 29 Oct 2024 13:57:12 -0400 Subject: [PATCH] Remove call to register plugins It's handled by the call to `super` --- .../src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt b/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt index ebe71c2..a78be8d 100644 --- a/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt +++ b/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt @@ -58,9 +58,7 @@ class MainActivity: FlutterActivity() { appContext = context //TODO: Initializing in the constructor leads to a context lacking info we need, figure out the right way to do this sites = Sites(flutterEngine) - - GeneratedPluginRegistrant.registerWith(flutterEngine) - + ui = MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL) ui!!.setMethodCallHandler { call, result -> when(call.method) {