Skip to content

Commit 780e489

Browse files
lukstbitdavid-allison
authored andcommitted
Hide tags button in NoteEditorFragment for image occlusion notetypes
The backend page handles the tags for occlusion notetypes.
1 parent d5f6471 commit 780e489

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

AnkiDroid/src/main/java/com/ichi2/anki/NoteEditorFragment.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2633,6 +2633,9 @@ class NoteEditorFragment :
26332633
.trim()
26342634
.replace(" ", ", "),
26352635
)
2636+
// showing the tags is not needed for image occlusion notetypes as they are handled by the
2637+
// backend page
2638+
tagsButton?.isVisible = !currentNotetypeIsImageOcclusion()
26362639
}
26372640

26382641
/** Update the list of card templates for current note type */

0 commit comments

Comments
 (0)