Compare commits
2 Commits
92fd38b43d
...
84b8cc4c72
Author | SHA1 | Date |
---|---|---|
Ian VanSchooten | 84b8cc4c72 | |
Ian VanSchooten | 9ccc9ae986 |
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue