ankidroid / ankidroid/Anki-Android

Image Occlusion: Add an error message if no masks are set

Open
#19,443 18 comments 0 reactions 0 assignees View on GitHub
Keep Open Multimedia Priority-Medium upstream-issue
Dominant language
Kotlin
Stars
11.8k
Forks
2.9k
Avg merge
2d 3h
Merged PRs (30d)
171

Description

> [!IMPORTANT]
> This issue is workable, an issue needs to be added to https://github.com/ankitects/anki/issues speccing out how to solve it.

----

* Share an image to AnkiDroid as 'Image Occlusion'
* Click 'save'

**Expected**

* A user is informed that masks must be added before an IO note is saved

**Actual**

* No error occurs, screen stays open

Code:

https://github.com/ankitects/anki/blob/dac26ce67147b261d79a56092320cc2f5af0d990/ts/routes/image-occlusion/%5B...imagePathOrNoteId%5D/%2Bpage.ts#L11-L13

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.