# V1.5.1 Build Fix

## 🐛 Issue Found

**Error:** `'showAbout' is inaccessible due to 'private' protection level`

### Root Cause
The `showAbout()` method in `AppDelegate.swift` was marked as `private`, but we were trying to call it from `PreferencesView.swift` for the "View About & Privacy Details" button.

---

## ✅ Fix Applied

### 1. Changed Method Visibility (AppDelegate.swift)

**Before:**
```swift
@objc private func showAbout() {
```

**After:**
```swift
@objc func showAbout() {
```

This makes the method accessible from other parts of the app while still being `@objc` for Objective-C compatibility.

### 2. Simplified Method Call (PreferencesView.swift)

**Before:**
```swift
if let appDelegate = NSApp.delegate as? AppDelegate {
    appDelegate.perform(#selector(AppDelegate.showAbout))
}
```

**After:**
```swift
if let appDelegate = NSApp.delegate as? AppDelegate {
    appDelegate.showAbout()
}
```

This is cleaner and more type-safe than using `perform(#selector(...))`.

---

## 🧪 Testing

After this fix, the app should:
- ✅ Build successfully with no errors
- ✅ "View About & Privacy Details" button in Preferences works
- ✅ Opens the About window when clicked

---

## 📝 Files Modified

1. **AppDelegate.swift** - Changed `showAbout()` from `private` to internal
2. **PreferencesView.swift** - Changed from `perform(#selector)` to direct method call

---

## 🚀 Ready to Build

Run **⌘B** to build the app. It should compile without errors now!

