Many applications (particularly on Windows) that are minimized to the tray often have an option to disable it. Unfortunately, I did not find such an option here. It would be nice to add a "Show tray icon" toggle to the Hiddify settings, which would be enabled by default when first configured, but could be disabled. This way, Hiddify would not be minimized when the tray icon is disabled, but would simply close completely and immediately, as would happen by pressing the exit button on the tray icon if it were enabled. A good example of implementing this is, for example, Telegram Desktop. In general, I think that this should be added as a switch, including in the same way as switches such as "Start at login" and "Start minimized" were implemented. I think that is a good and simple idea (for realization).
Feature description
Many applications (particularly on Windows) that are minimized to the tray often have an option to disable it. Unfortunately, I did not find such an option here. It would be nice to add a "Show tray icon" toggle to the Hiddify settings, which would be enabled by default when first configured, but could be disabled. This way, Hiddify would not be minimized when the tray icon is disabled, but would simply close completely and immediately, as would happen by pressing the exit button on the tray icon if it were enabled. A good example of implementing this is, for example, Telegram Desktop. In general, I think that this should be added as a switch, including in the same way as switches such as "Start at login" and "Start minimized" were implemented. I think that is a good and simple idea (for realization).