Skip to content

Commit

Permalink
CI Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexhuszagh committed Sep 7, 2024
1 parent 4c627f7 commit f3c86ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions example/breeze_theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,12 @@ def _get_theme_macos_impl() -> ThemeFn:

def get_theme_func() -> Theme:
'''Get the theme with all our internal helpers.'''
pool = msg(auto_release_pool, _register_name(objc, 'alloc'))
pool = msg(pool, _register_name(objc, 'init'))
std_user_defaults = msg(user_defaults, _register_name(objc, 'standardUserDefaults'))

return Theme.DARK
# TODO: Restore
# pool = msg(auto_release_pool, _register_name(objc, 'alloc'))
# pool = msg(pool, _register_name(objc, 'init'))
# std_user_defaults = msg(user_defaults, _register_name(objc, 'standardUserDefaults'))
#
# key = msg(ns_string, _register_name(objc, "stringWithUTF8String:"), _as_utf8('AppleInterfaceStyle'))
# appearance_ns = msg(std_user_defaults, _register_name(objc, 'stringForKey:'), ctypes.c_void_p(key))
# appearance_c = msg(appearance_ns, _register_name(objc, 'UTF8String'))
Expand Down

0 comments on commit f3c86ab

Please sign in to comment.