diff --git a/android/app/src/main/java/com/openxchange/oxcoi/MainActivity.java b/android/app/src/main/java/com/openxchange/oxcoi/MainActivity.java index 5ae5e263..b2e08155 100644 --- a/android/app/src/main/java/com/openxchange/oxcoi/MainActivity.java +++ b/android/app/src/main/java/com/openxchange/oxcoi/MainActivity.java @@ -66,7 +66,7 @@ public class MainActivity extends FlutterActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - cacheDateFromPlatform(getIntent()); + cacheDataFromPlatform(getIntent()); } @Override @@ -80,7 +80,7 @@ public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) { @Override protected void onNewIntent(@NonNull Intent intent) { super.onNewIntent(intent); - cacheDateFromPlatform(intent); + cacheDataFromPlatform(intent); } private void setupSharingMethodChannel(DartExecutor dartExecutor) { @@ -120,7 +120,7 @@ private void setupSecurityMethodChannel(DartExecutor dartExecutor) { }); } - private void cacheDateFromPlatform(Intent intent) { + private void cacheDataFromPlatform(Intent intent) { String action = intent.getAction(); String type = intent.getType(); Uri data = intent.getData();