Merge pull request #865 from ente-io/fix_ios_sim

This commit is contained in:
Vishnu Mohandas 2023-02-15 16:58:43 +05:30 committed by GitHub
commit f0bbb300ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,6 +41,10 @@ class _EnteAppState extends State<EnteApp> with WidgetsBindingObserver {
}
Future<bool> initIntentAction() async {
if (!Platform.isAndroid) {
AppLifecycleService.instance.setIntentAction(IntentAction.main);
return true;
}
IntentAction intentAction = IntentAction.main;
try {
final actionResult = await _mediaExtensionPlugin.getIntentAction();