Hide easy button

Simple add-on that does not display the easy button. The shortcut key ‘3’ or ‘4’ can still be used.

Link: https://ankiweb.net/shared/info/176789788

Before:
before

After:
after

Thanks for the plugin!!!

,I don’t need him to hide the “easy”, I would be happy if I could use it to hide the “again” key.

When the buttons work normally for example: button 1 will perform “again”, 2 = “hard”, and so on…

Can someone guide me on what I need to change here?

from aqt.reviewer import Reviewer
from aqt import mw

def answerButtonList(self):
    l = ((1,  _("Again")),)
    cnt = self.mw.col.sched.answerButtons(self.card)
    if cnt == 2 or cnt == 3:
        return l + ((2, _("Good")),)
    else:
        return l + ((2, _("Hard")), (3, _("Good")),)

Reviewer._answerButtonList = answerButtonList

Is this code supposed to be good for me?

from aqt.reviewer import Reviewer
from aqt import mw

def answerButtonList(self):
    l = ((2,  _("hard")),)
    cnt = self.mw.col.sched.answerButtons(self.card)
    if cnt == 2 or cnt == 3:
        return l + ((3, _("good")),)
    else:
        return l + ((3, _("good")), (4, _("easy")),)

Reviewer._answerButtonList = answerButtonList