Compare commits

..

2 Commits

Author SHA1 Message Date
Ian VanSchooten 84b8cc4c72
Merge 9ccc9ae986 into 1ecd008824 2024-10-29 17:57:17 +00:00
Ian VanSchooten 9ccc9ae986 Remove call to register plugins
It's handled by the call to `super`
2024-10-29 13:57:12 -04:00
1 changed files with 1 additions and 3 deletions

View File

@ -58,9 +58,7 @@ class MainActivity: FlutterActivity() {
appContext = context appContext = context
//TODO: Initializing in the constructor leads to a context lacking info we need, figure out the right way to do this //TODO: Initializing in the constructor leads to a context lacking info we need, figure out the right way to do this
sites = Sites(flutterEngine) sites = Sites(flutterEngine)
GeneratedPluginRegistrant.registerWith(flutterEngine)
ui = MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL) ui = MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL)
ui!!.setMethodCallHandler { call, result -> ui!!.setMethodCallHandler { call, result ->
when(call.method) { when(call.method) {