Update MainActivity.java

Migrating flutter apps from v1 to v2
This commit is contained in:
Alita S 2022-06-01 18:54:09 +05:30 committed by GitHub
parent 421f982ae2
commit 063b6b5883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,6 @@
package co.appbrewery.dicee;
import android.os.Bundle;
import io.flutter.app.FlutterActivity;
import io.flutter.plugins.GeneratedPluginRegistrant;
import io.flutter.embedding.android.FlutterActivity;
public class MainActivity extends FlutterActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GeneratedPluginRegistrant.registerWith(this);
}
}