Skip to content

fix issue preventing more than 1 theme cycle via keyboard shortcut

Warren Gifford requested to merge fix-theme-cycle-multiple into main

Created by: sqs

The keyboard shortcut Option+T/Alt+T/Meta+T cycles between the light and dark themes. It was broken: it worked the first time after the page load, but it did not work on subsequent times.

The issue is fixed by using a functional setter for the state value.

Merge request reports

Loading