Parcourir la Source

Improve non-premium overlay readability in light mode.

Use a dark text color for the locked events message in light mode while preserving white text in dark mode so the premium prompt remains clearly visible.

Made-with: Cursor
huzaifahayat12 il y a 1 semaine
Parent
commit
53352a5dd5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      meetings_app/ViewController.swift

+ 1 - 1
meetings_app/ViewController.swift

@@ -2799,7 +2799,7 @@ private extension ViewController {
2799 2799
             lockOverlay.layer?.masksToBounds = true
2800 2800
             lockOverlay.layer?.backgroundColor = NSColor.black.withAlphaComponent(darkModeEnabled ? 0.28 : 0.12).cgColor
2801 2801
 
2802
-            let lockLabel = textLabel("Get Premium to see events", font: NSFont.systemFont(ofSize: 12, weight: .semibold), color: .white)
2802
+            let lockLabel = textLabel("Get Premium to see events", font: NSFont.systemFont(ofSize: 12, weight: .semibold), color: darkModeEnabled ? .white : .black)
2803 2803
             lockLabel.alignment = .center
2804 2804
 
2805 2805
             card.addSubview(lockOverlay)