AnKing-VIP / AnKing-Note-Types

https://www.ankingmed.com
GNU Affero General Public License v3.0
41 stars 20 forks source link

OME Field always shows on mobile (despite being disabled) #187

Closed JChatara closed 1 month ago

JChatara commented 1 month ago

Which Note Type (and version) is this about? Anking Overhual

Problem description

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen? Since the update to the anking notetype on 5-21, the OME field cannot be disabled on mobile ( it always shows up) despite being disabled and not present on desktop I cannot get it to go away on mobile

Checklist

Please replace the space inside the brackets with an x if the following items apply:

What Anki version are you using?

*Please open Anki, go to Help → About (windows) or Anki → About Anki (mac) to find the version. Edit the value between the backticks below

Version ⁨2.1.65 (aa9a734f)

What Operating system are you using? (i.e. MacOS, Windows, Linux)

Please include OS version as well if possible

Windows 11

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

none
AnKingMed commented 1 month ago

@abdnh would you mind looking into this?

abdnh commented 1 month ago

This is happening because the template has two separate buttons/banners for desktop and mobile. The simplest solution I see is to add a separate option for the mobile button.