"Import into vault" option sometimes not shown

Steps to reproduce

  1. Close the Obsidian iOS mobile application and lock the phone.
  2. Pick up the phone, swipe left to access the camera.
  3. Take a photo.
  4. Press on the bottom left of the screen to display the photo that was just taken.
  5. Press on the share icon and select Obsidian.
  6. The Obsidian application opens and the import into vault option is shown properly.
  7. Press on Cancel.

Now, lock the phone and start over from step 2.

Expected result

The expected behavior is what is being described in step 6.

Actual result

The second time around, there is no “import into vault”/“cancel” dialog box.

Environment

SYSTEM INFO:
Operating system: ios 16.6.1 (Apple iPhone)
Obsidian version: 1.4.16 (114)
API version: v1.4.16
Login status: logged in
Catalyst license: none
Live preview: on
Legacy editor: off
Base theme: adapt to system
Community theme: none
Snippets enabled: 2
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0


Additional information

The debug log claims there are two snippets enabled even though the appearance tab says “no css snippets found.”.