Remove call to register plugins
It's handled by the call to `super`
This commit is contained in:
parent
9e403b8710
commit
9ccc9ae986
|
@ -59,8 +59,6 @@ class MainActivity: FlutterActivity() {
|
|||
//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) {
|
||||
|
|
Loading…
Reference in New Issue