diff --git a/toolkit/crashreporter/client/crashreporter_osx.mm b/toolkit/crashreporter/client/crashreporter_osx.mm index f26abfe0c96a4bb81101fe18b125fc70419eac65..a72d4bad02fe00f3e65879ed55523d236566e381 100644 --- a/toolkit/crashreporter/client/crashreporter_osx.mm +++ b/toolkit/crashreporter/client/crashreporter_osx.mm @@ -189,12 +189,14 @@ static bool RestartApplication() { } - (void)showReportInfo { - NSDictionary* boldAttr = - [NSDictionary dictionaryWithObject:[NSFont boldSystemFontOfSize:[NSFont smallSystemFontSize]] - forKey:NSFontAttributeName]; - NSDictionary* normalAttr = - [NSDictionary dictionaryWithObject:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]] - forKey:NSFontAttributeName]; + NSDictionary* boldAttr = @{ + NSFontAttributeName : [NSFont boldSystemFontOfSize:[NSFont smallSystemFontSize]], + NSForegroundColorAttributeName : NSColor.textColor, + }; + NSDictionary* normalAttr = @{ + NSFontAttributeName : [NSFont systemFontOfSize:[NSFont smallSystemFontSize]], + NSForegroundColorAttributeName : NSColor.textColor, + }; [mViewReportTextView setString:@""]; for (Json::ValueConstIterator iter = gQueryParameters.begin(); iter != gQueryParameters.end(); diff --git a/toolkit/crashreporter/client/macbuild/Contents/Info.plist b/toolkit/crashreporter/client/macbuild/Contents/Info.plist index 96fce78662e0ae770e69576fee53c20f70c011b9..51d6c4de371788f9ce6cfecd859ff979a7651bde 100644 --- a/toolkit/crashreporter/client/macbuild/Contents/Info.plist +++ b/toolkit/crashreporter/client/macbuild/Contents/Info.plist @@ -27,7 +27,7 @@ <key>NSMainNibFile</key> <string>MainMenu</string> <key>NSRequiresAquaSystemAppearance</key> - <true/> + <false/> <key>NSPrincipalClass</key> <string>NSApplication</string> <key>LSUIElement</key>