johnlindquist / StatusIcon

0 stars 0 forks source link

Add Settings Menu Item and Open Settings Functionality #4

Open sweep-ai[bot] opened 2 months ago

sweep-ai[bot] commented 2 months ago

Purpose

This pull request adds a new "Settings" menu item to the status bar menu and implements the functionality to open the settings when the menu item is clicked.

Description

The changes in this pull request include:

  1. Adding a new "Settings" menu item to the createMenu() function in the main.swift file.
  2. Implementing a new openSettings() function that is called when the "Settings" menu item is clicked. This function currently just prints a message to the console as a placeholder for the actual settings functionality.
  3. Adding a separator line between the "Settings" and "Quit" menu items to visually separate them.

Summary

Suggested changes from Sweep Chat by @johnlindquist. Continue chatting at https://sweep-chat-demo.vercel.app/c/e08c3a6b-5b7a-4721-8d19-65aced43697f