Closed jabl closed 1 year ago
As part of the update, the context.register_callback() has been deprecated in favor of HotplugBuilder, so change the code to use that method instead.
This also seems to solve https://github.com/haimgel/display-switch/issues/110
Thank you for this PR! On vacation rn, but should have time to review & merge this by the end of this week.
As part of the update, the context.register_callback() has been deprecated in favor of HotplugBuilder, so change the code to use that method instead.
This also seems to solve https://github.com/haimgel/display-switch/issues/110