Browse Source

Fix incorrect identifier usage.

pull/214/head v2.4.6-rc1
weisj 4 years ago
parent
commit
0b1cce8c23
  1. 2
      macos/src/main/objcpp/ThemeInfo.mm

2
macos/src/main/objcpp/ThemeInfo.mm

@ -266,7 +266,7 @@ JNF_COCOA_EXIT(env);
JNIEXPORT void JNICALL
Java_com_github_weisj_darklaf_platform_macos_JNIThemeInfoMacOS_unpatchAppBundle(JNIEnv *env, jclass obj) {
JNF_COCOA_ENTER(env);
if (!patched) return;
if (!manuallyPatched) return;
if (@available(macOS 10.15, *)) {
NSString *name = [[NSBundle mainBundle] bundleIdentifier];
CFStringRef bundleName = (__bridge CFStringRef)name;

Loading…
Cancel
Save