Straight Reward [Official support]

The error persists on the most recent version of Anki, 23.12.1.

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.19045

When loading Straight Reward:
Traceback (most recent call last):
File “aqt.addons”, line 245, in loadAddons
File “C:\Users\[REDACTED]\AppData\Roaming\Anki2\addons21\957961234_init_.py”, line 40, in
from .src import init
File “C:\Users\[REDACTED]\AppData\Roaming\Anki2\addons21\957961234\src_init_.py”, line 2, in
from .lib import init_review_hook, init_sync_hook
File “C:\Users\[REDACTED]\AppData\Roaming\Anki2\addons21\957961234\src\lib_init_.py”, line 1, in
from .review_hook import init_review_hook
File “C:\Users\[REDACTED]\AppData\Roaming\Anki2\addons21\957961234\src\lib\review_hook.py”, line 4, in
from aqt.gui_hooks import (
ImportError: cannot import name ‘review_did_undo’ from ‘aqt.gui_hooks’ (unknown location)

i love this add on so so much, thank you for creating it. but its failing to load with the new version of Anki (23.12.1 mac intel qt6), its telling me that there are also no updates available when i check. Can you please help me make it work again. i have included the debug information below:
Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-13.4.1-x86_64-i386-64bit

When loading Straight Reward:
Traceback (most recent call last):
File “aqt.addons”, line 245, in loadAddons
File “/Users/julia/Library/Application Support/Anki2/addons21/957961234/init.py”, line 40, in
from .src import init
File “/Users/julia/Library/Application Support/Anki2/addons21/957961234/src/init.py”, line 2, in
from .lib import init_review_hook, init_sync_hook
File “/Users/julia/Library/Application Support/Anki2/addons21/957961234/src/lib/init.py”, line 1, in
from .review_hook import init_review_hook
File “/Users/julia/Library/Application Support/Anki2/addons21/957961234/src/lib/review_hook.py”, line 4, in
from aqt.gui_hooks import (
ImportError: cannot import name ‘review_did_undo’ from ‘aqt.gui_hooks’ (unknown location)

Found a fix on the developer’s Github after a bit of digging: go to src - lib - review_hook to find the file

plus indicates lines added and minus indicates lines deleted

Hmmm? The author seems to be very busy so I thought I would make a temporary Fork and upload it to AnkiWeb, but after reading the source code, this problem has already been fixed. So it should work without repair. Wouldn’t this problem be solved by updating the add-on to the latest version?

Excuse me, I use Anki on 2 devices, which one should I install straight reward on, the one I use most often, the one I use least, or it doesn’t matter which one? Thanks in advance

Straight reward is run when reviewing cards, so I think it’s fine for the device you use most often.