Upgrade to Flutter's v2 embedding
This commit is contained in:
parent
3a88760540
commit
de1256c710
1 changed files with 1 additions and 7 deletions
|
@ -1,12 +1,6 @@
|
||||||
package io.ente.photos
|
package io.ente.photos
|
||||||
|
|
||||||
import androidx.annotation.NonNull
|
import io.flutter.embedding.android.FlutterActivity;
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
|
||||||
import io.flutter.embedding.engine.FlutterEngine
|
|
||||||
import io.flutter.plugins.GeneratedPluginRegistrant
|
|
||||||
|
|
||||||
class MainActivity : FlutterActivity() {
|
class MainActivity : FlutterActivity() {
|
||||||
override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
|
|
||||||
GeneratedPluginRegistrant.registerWith(flutterEngine)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue